Minimum delay in menu click feedback

Squished #1849
2.0.x
Scott Lahteine 10 years ago
parent 419f3ebc03
commit cf9b58452c

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

Loading…
Cancel
Save