diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index a1671848..62ec6f67 100755 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -5818,7 +5818,7 @@ if(eSoundMode!=e_SOUND_MODE_SILENT) ### M27 - Get SD status M27: Report SD print status */ case 27: - card.getStatus(code_seen('L')); + card.getStatus(code_seen('P')); break; /*! diff --git a/Firmware/cardreader.cpp b/Firmware/cardreader.cpp index 2140a09a..a9626897 100644 --- a/Firmware/cardreader.cpp +++ b/Firmware/cardreader.cpp @@ -502,7 +502,7 @@ uint32_t CardReader::getFileSize() return filesize; } -void CardReader::getStatus(bool arg_L) +void CardReader::getStatus(bool arg_P) { if (isPrintPaused) { @@ -513,7 +513,7 @@ void CardReader::getStatus(bool arg_L) } else if (sdprinting) { - if (arg_L) + if (arg_P) { SERIAL_PROTOCOL('/'); for (uint8_t i = 0; i < getWorkDirDepth(); i++) diff --git a/Firmware/cardreader.h b/Firmware/cardreader.h index 40098d3c..52445400 100644 --- a/Firmware/cardreader.h +++ b/Firmware/cardreader.h @@ -26,7 +26,7 @@ public: void release(); void startFileprint(); uint32_t getFileSize(); - void getStatus(bool arg_L); + void getStatus(bool arg_P); void printingHasFinished(); void getfilename(uint16_t nr, const char* const match=NULL);