Followup to wait_for_user fix

This commit is contained in:
Scott Lahteine 2019-03-10 09:13:54 -05:00
parent 33a08fc6f7
commit 12503fce06
3 changed files with 5 additions and 3 deletions

View file

@ -179,7 +179,7 @@ bool Running = true;
#endif
// For M109 and M190, this flag may be cleared (by M108) to exit the wait loop
volatile bool wait_for_heatup = true;
bool wait_for_heatup = true;
// For M0/M1, this flag may be cleared (by M108) to exit the wait-for-user loop
#if HAS_RESUME_CONTINUE

View file

@ -330,7 +330,7 @@ extern bool Running;
inline bool IsRunning() { return Running; }
inline bool IsStopped() { return !Running; }
extern volatile bool wait_for_heatup;
extern bool wait_for_heatup;
#if HAS_RESUME_CONTINUE
extern bool wait_for_user;

View file

@ -31,7 +31,9 @@
#include "host_actions.h"
#endif
#include "../Marlin.h"
// External references
extern bool wait_for_user, wait_for_heatup;
void quickstop_stepper();
class EmergencyParser {