From 673980a005ac48d4cc401df69ca1ce9ce4bce75f Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 25 Mar 2017 01:21:20 +0700 Subject: [PATCH] clean up --- cores/nRF5/wiring_analog.cpp | 1 + 1 file changed, 1 insertion(+) 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; } } }