From c294613b53a4d0ac24ef3bb2daa33633a3233359 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 16 Mar 2018 03:25:27 -0500 Subject: [PATCH] Fix CardReader::getStatus when not printing --- Marlin/cardreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/cardreader.cpp b/Marlin/cardreader.cpp index 8f8b6eba6..97aaa901e 100644 --- a/Marlin/cardreader.cpp +++ b/Marlin/cardreader.cpp @@ -533,7 +533,7 @@ void CardReader::removeFile(const char * const name) { } void CardReader::getStatus() { - if (cardOK) { + if (cardOK && sdprinting) { SERIAL_PROTOCOLPGM(MSG_SD_PRINTING_BYTE); SERIAL_PROTOCOL(sdpos); SERIAL_PROTOCOLCHAR('/');