Followup to wait_for_user fix

2.0.x
Scott Lahteine 6 years ago
parent 33a08fc6f7
commit 12503fce06

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

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

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

Loading…
Cancel
Save