diff --git a/cores/nRF5/wiring_analog.cpp b/cores/nRF5/wiring_analog.cpp index 0a3d82ac..172af117 100644 --- a/cores/nRF5/wiring_analog.cpp +++ b/cores/nRF5/wiring_analog.cpp @@ -73,6 +73,7 @@ void analogWrite( uint32_t pin, uint32_t value ) if ( !PWMx[i]->begun() ) PWMx[i]->begin(); PWMx[i]->writePin(pin, value); + return; } } }