Merge pull request #1848 from MRprusa3d/PFW-853

recovery from "Stop()"
This commit is contained in:
DRracer 2019-05-24 09:54:07 +02:00 committed by GitHub
commit 098c0979ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)