mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-13 01:40:09 +00:00
Fix CardReader::getStatus when not printing
This commit is contained in:
parent
4dc4d348d4
commit
c294613b53
1 changed files with 1 additions and 1 deletions
|
@ -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('/');
|
||||
|
|
Loading…
Add table
Reference in a new issue