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;
paused = false;
Stopped = false;
#ifdef SDCARD_SORT_ALPHA
//flush_presort();
#endif

View File

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