From c25e80e27c013f5cb1a98b246f69d35b7e969b5a Mon Sep 17 00:00:00 2001 From: onovy Date: Fri, 14 Aug 2015 17:34:00 +0200 Subject: Tone: Added missing break --- cores/arduino/Tone.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cores') diff --git a/cores/arduino/Tone.cpp b/cores/arduino/Tone.cpp index 7216219..4e058cd 100644 --- a/cores/arduino/Tone.cpp +++ b/cores/arduino/Tone.cpp @@ -485,6 +485,7 @@ void noTone(uint8_t _pin) if (tone_pins[i] == _pin) { _timer = pgm_read_byte(tone_pin_to_timer_PGM + i); tone_pins[i] = 255; + break; } } -- cgit v1.2.3-18-g5258