Ver Fonte

M27: returns print saved (fixes setting temperatures to zero during crash detection)

PavelSindler há 6 anos atrás
pai
commit
64f7272ea7
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      Firmware/cardreader.cpp

+ 4 - 1
Firmware/cardreader.cpp

@@ -523,7 +523,10 @@ void CardReader::getStatus()
     SERIAL_PROTOCOL(itostr2(time%60));
     SERIAL_PROTOCOLPGM("\n");
   }
-  else{
+  else if (saved_printing) {
+	  SERIAL_PROTOCOLLNPGM("Print saved");
+  }
+  else {
     SERIAL_PROTOCOLLNPGM("Not SD printing");
   }
 }