Merge pull request #4140 from thinkyhead/rc_button_reliability

Always do a brief delay in `lcd_quick_feedback`
This commit is contained in:
Scott Lahteine 2016-06-24 20:05:56 -07:00 committed by GitHub
commit c8a9829387

View File

@ -1999,9 +1999,8 @@ static void lcd_status_screen() {
lcd.buzz(LCD_FEEDBACK_FREQUENCY_DURATION_MS, LCD_FEEDBACK_FREQUENCY_HZ); lcd.buzz(LCD_FEEDBACK_FREQUENCY_DURATION_MS, LCD_FEEDBACK_FREQUENCY_HZ);
#elif PIN_EXISTS(BEEPER) #elif PIN_EXISTS(BEEPER)
buzzer.tone(LCD_FEEDBACK_FREQUENCY_DURATION_MS, LCD_FEEDBACK_FREQUENCY_HZ); buzzer.tone(LCD_FEEDBACK_FREQUENCY_DURATION_MS, LCD_FEEDBACK_FREQUENCY_HZ);
#else
delay(LCD_FEEDBACK_FREQUENCY_DURATION_MS);
#endif #endif
delay(10); // needed for buttons to settle
} }
/** /**