Skip to content
Snippets Groups Projects
Commit ac9ca64c authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Merge pull request #1969 from thinkyhead/buzz_duration

Fix BEEPER duration
parents b3436c87 a932e749
No related branches found
No related tags found
No related merge requests found
......@@ -1545,6 +1545,7 @@ void lcd_buzz(long duration, uint16_t freq) {
#if BEEPER > 0
SET_OUTPUT(BEEPER);
tone(BEEPER, freq, duration);
delay(duration);
#elif defined(LCD_USE_I2C_BUZZER)
lcd.buzz(duration, freq);
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment