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