Bed heating status messages.
This commit is contained in:
@@ -38,6 +38,10 @@
|
|||||||
|
|
||||||
#include "../../MarlinCore.h" // for startOrResumeJob, etc.
|
#include "../../MarlinCore.h" // for startOrResumeJob, etc.
|
||||||
|
|
||||||
|
#ifdef ANYCUBIC_TOUCHSCREEN
|
||||||
|
#include "../../lcd/anycubic_touchscreen.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
|
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
|
||||||
#include "../../module/printcounter.h"
|
#include "../../module/printcounter.h"
|
||||||
#if ENABLED(CANCEL_OBJECTS)
|
#if ENABLED(CANCEL_OBJECTS)
|
||||||
@@ -87,9 +91,12 @@ void GcodeSuite::M104() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if ENABLED(AUTOTEMP)
|
#if ENABLED(AUTOTEMP)
|
||||||
planner.autotemp_M104_M109();
|
planner.autotemp_M104_M109();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -139,12 +146,25 @@ void GcodeSuite::M109() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ANYCUBIC_TOUCHSCREEN
|
||||||
|
AnycubicTouchscreen.HeatingStart();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(AUTOTEMP)
|
#if ENABLED(AUTOTEMP)
|
||||||
planner.autotemp_M104_M109();
|
planner.autotemp_M104_M109();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (set_temp)
|
if (set_temp)
|
||||||
(void)thermalManager.wait_for_hotend(target_extruder, no_wait_for_cooling);
|
(void)thermalManager.wait_for_hotend(target_extruder, no_wait_for_cooling);
|
||||||
|
|
||||||
|
// flush the serial buffer after heating to prevent lockup by m105
|
||||||
|
//SERIAL_FLUSH();
|
||||||
|
|
||||||
|
#ifdef ANYCUBIC_TOUCHSCREEN
|
||||||
|
AnycubicTouchscreen.CommandScan();
|
||||||
|
AnycubicTouchscreen.BedHeatingDone();
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // EXTRUDERS
|
#endif // EXTRUDERS
|
||||||
|
Reference in New Issue
Block a user