Skip to content

Commit 7568da4

Browse files
committed
Tone: Added missing break
1 parent bee8bf2 commit 7568da4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

avr/cores/arduino/Tone.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ void noTone(uint8_t _pin)
485485
if (tone_pins[i] == _pin) {
486486
_timer = pgm_read_byte(tone_pin_to_timer_PGM + i);
487487
tone_pins[i] = 255;
488+
break;
488489
}
489490
}
490491

0 commit comments

Comments
 (0)