Skip to content

Commit 8de4715

Browse files
committed
Merge branch 'toneMinor' of https://github.com/onovy/Arduino
2 parents 617c4a4 + bf2ef13 commit 8de4715

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)