Minimum delay in menu click feedback

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

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

Loading…
Cancel
Save