mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 15:26:18 +00:00
parent
88407727ec
commit
c4e4a0688c
@ -540,7 +540,7 @@ void CardReader::write_command(char *buf) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CardReader::checkautostart(bool force) {
|
void CardReader::checkautostart(bool force) {
|
||||||
if (!force && (!autostart_stilltocheck || ELAPSED(millis(), next_autostart_ms)))
|
if (!force && (!autostart_stilltocheck || PENDING(millis(), next_autostart_ms)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
autostart_stilltocheck = false;
|
autostart_stilltocheck = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user