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