mirror of https://github.com/noisymime/Arduino.git
Tone: Added missing break
This commit is contained in:
parent
695fc40fbd
commit
bf2ef13b50
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue