Use IS_SD_PRINTING() more

This commit is contained in:
Scott Lahteine committed 2018-11-06 20:55:17 -06:00
1 parent 4dbaa6369f
commit 488a17b3f5
7 files changed
+11 -10

No files matched your search

+2 -2
View File
@@ -749,7 +749,7 @@ inline void get_serial_commands() {
card.printingHasFinished();
if (card.sdprinting)
if (IS_SD_PRINTING())
sd_count = 0; // If a sub-file was printing, continue from call point
else {
SERIAL_PROTOCOLLNPGM(MSG_FILE_PRINTED);
@@ -888,7 +888,7 @@ void advance_command_queue() {
else {
gcode.process_next_command();
#if ENABLED(POWER_LOSS_RECOVERY)
if (card.cardOK && card.sdprinting) save_job_recovery_info();
if (card.cardOK && IS_SD_PRINTING()) save_job_recovery_info();
#endif
}