Skip to content

Commit bf2ef13

Browse files
committed
Tone: Added missing break
1 parent 695fc40 commit bf2ef13

File tree

1 file changed

+1
-0
lines changed
  • hardware/arduino/avr/cores/arduino

1 file changed

+1
-0
lines changed

hardware/arduino/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)