recovery from "Stop()"

This commit is contained in:
MRprusa3d 2019-05-18 21:28:59 +02:00
parent 7ff50e966d
commit a408f90659
2 changed files with 2 additions and 0 deletions

View file

@ -242,6 +242,7 @@ void CardReader::startFileprint()
{ {
sdprinting = true; sdprinting = true;
paused = false; paused = false;
Stopped = false;
#ifdef SDCARD_SORT_ALPHA #ifdef SDCARD_SORT_ALPHA
//flush_presort(); //flush_presort();
#endif #endif

View file

@ -161,6 +161,7 @@ private:
void flush_presort(); void flush_presort();
#endif #endif
}; };
extern bool Stopped;
extern CardReader card; extern CardReader card;
#define IS_SD_PRINTING (card.sdprinting) #define IS_SD_PRINTING (card.sdprinting)