|
|
|
@ -1542,9 +1542,7 @@ void lcd_buzz(long duration, uint16_t freq) {
|
|
|
|
|
if (freq > 0) {
|
|
|
|
|
#if BEEPER > 0
|
|
|
|
|
SET_OUTPUT(BEEPER);
|
|
|
|
|
tone(BEEPER, freq);
|
|
|
|
|
delay(duration);
|
|
|
|
|
noTone(BEEPER);
|
|
|
|
|
tone(BEEPER, freq, duration);
|
|
|
|
|
#elif defined(LCD_USE_I2C_BUZZER)
|
|
|
|
|
lcd.buzz(duration,freq);
|
|
|
|
|
#else
|
|
|
|
|