Merge pull request #4140 from thinkyhead/rc_button_reliability

Always do a brief delay in `lcd_quick_feedback`
master
Scott Lahteine 9 years ago committed by GitHub
commit c8a9829387

@ -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
} }
/** /**

Loading…
Cancel
Save