1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

Tone: Added missing break

This commit is contained in:
onovy 2015-08-14 17:34:00 +02:00
parent 695fc40fbd
commit bf2ef13b50

View File

@ -485,6 +485,7 @@ void noTone(uint8_t _pin)
if (tone_pins[i] == _pin) { if (tone_pins[i] == _pin) {
_timer = pgm_read_byte(tone_pin_to_timer_PGM + i); _timer = pgm_read_byte(tone_pin_to_timer_PGM + i);
tone_pins[i] = 255; tone_pins[i] = 255;
break;
} }
} }