diff options
Diffstat (limited to 'cores/arduino/Tone.cpp')
| -rw-r--r-- | cores/arduino/Tone.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/cores/arduino/Tone.cpp b/cores/arduino/Tone.cpp index 7216219..1bfb3e3 100644 --- a/cores/arduino/Tone.cpp +++ b/cores/arduino/Tone.cpp @@ -209,7 +209,7 @@ static int8_t toneBegin(uint8_t _pin)          #if defined(WGM42)            bitWrite(TCCR4B, WGM42, 1);          #elif defined(CS43) -          #warning this may not be correct +          // TODO this may not be correct            // atmega32u4            bitWrite(TCCR4B, CS43, 1);          #endif @@ -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;      }    }  | 
