Fix Cancel Print command processing

This commit is contained in:
leptun 2019-09-25 22:34:31 +03:00
parent 4d149f0dfa
commit 9c22692827
1 changed files with 1 additions and 2 deletions

View File

@ -1755,12 +1755,11 @@ void loop()
#ifdef FANCHECK #ifdef FANCHECK
if (fan_check_error && isPrintPaused) if (fan_check_error && isPrintPaused)
{ {
process_commands(); //used to process pausing
KEEPALIVE_STATE(PAUSED_FOR_USER); KEEPALIVE_STATE(PAUSED_FOR_USER);
host_keepalive(); //prevent timeouts since usb processing is disabled until print is resumed. This is for a crude way of pausing a print on all hosts. host_keepalive(); //prevent timeouts since usb processing is disabled until print is resumed. This is for a crude way of pausing a print on all hosts.
} }
else
#endif #endif
if (prusa_sd_card_upload) if (prusa_sd_card_upload)
{ {
//we read byte-by byte //we read byte-by byte