Minimum delay in menu click feedback

Squished #1849
This commit is contained in:
Scott Lahteine 2015-04-07 20:20:30 -07:00
parent 419f3ebc03
commit cf9b58452c

View File

@ -1160,6 +1160,8 @@ static void lcd_quick_feedback() {
WRITE(BEEPER,LOW); WRITE(BEEPER,LOW);
delayMicroseconds(delay); delayMicroseconds(delay);
} }
const int j = max(10000 - LCD_FEEDBACK_FREQUENCY_DURATION_MS * 1000, 0);
if (j) delayMicroseconds(j);
#endif #endif
} }