diff --git a/cores/nRF5/HardwarePWM.cpp b/cores/nRF5/HardwarePWM.cpp index d4d1d7715..cd8dc9dc8 100644 --- a/cores/nRF5/HardwarePWM.cpp +++ b/cores/nRF5/HardwarePWM.cpp @@ -205,6 +205,15 @@ bool HardwarePWM::removePin(uint8_t pin) return true; } +bool HardwarePWM::removeAllPins(void) +{ + for(int ch=0; ch