Use IS_SD_PRINTING() more

This commit is contained in:
Scott Lahteine
2018-11-06 20:52:39 -06:00
parent 4dbaa6369f
commit 488a17b3f5
7 changed files with 11 additions and 10 deletions

View File

@ -357,11 +357,12 @@ bool pause_print(const float &retract, const point_t &park_point, const float &u
// Pause the print job and timer
#if ENABLED(SDSUPPORT)
if (card.sdprinting) {
if (IS_SD_PRINTING()) {
card.pauseSDPrint();
++did_pause_print; // Indicate SD pause also
}
#endif
print_job_timer.pause();
// Save current position