1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 05:48:43 +00:00

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

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