Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix noTone() when no TIMER_TONE is defined
Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm committed Apr 19, 2021
commit 95af6a75e9087f741833ff61878ebf3fc93cadf2
3 changes: 2 additions & 1 deletion cores/arduino/Tone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ void tone(uint8_t _pin, unsigned int frequency, unsigned long duration)
UNUSED(duration);
}

void noTone(uint8_t _pin)
void noTone(uint8_t _pin, bool destruct)
{
UNUSED(_pin);
UNUSED(destruct);
}
#endif /* HAL_TIM_MODULE_ENABLED && TIMER_TONE && !HAL_TIM_MODULE_ONLY*/