aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
authoronovy <novy@ondrej.org>2015-08-14 17:34:00 +0200
committeronovy <novy@ondrej.org>2015-08-15 21:11:52 +0200
commitc25e80e27c013f5cb1a98b246f69d35b7e969b5a (patch)
treeadb9f9fe0a1227f5d9a1339e2fb4ac8c7be089ad /cores/arduino
parent621580d83bcd60c8858e199095d2ca014e2123b2 (diff)
Tone: Added missing break
Diffstat (limited to 'cores/arduino')
-rw-r--r--cores/arduino/Tone.cpp1
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;
}
}