diff options
author | onovy <novy@ondrej.org> | 2015-08-14 17:34:00 +0200 |
---|---|---|
committer | onovy <novy@ondrej.org> | 2015-08-15 21:11:52 +0200 |
commit | c25e80e27c013f5cb1a98b246f69d35b7e969b5a (patch) | |
tree | adb9f9fe0a1227f5d9a1339e2fb4ac8c7be089ad /cores/arduino/Tone.cpp | |
parent | 621580d83bcd60c8858e199095d2ca014e2123b2 (diff) |
Tone: Added missing break
Diffstat (limited to 'cores/arduino/Tone.cpp')
-rw-r--r-- | cores/arduino/Tone.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |