Merge pull request #1969 from thinkyhead/buzz_duration

Fix BEEPER duration
This commit is contained in:
Scott Lahteine 2015-04-25 03:26:28 -07:00
commit ac9ca64c50

View file

@ -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