Cancel Objects - As seen at ERRF2019 (#15590)
This commit is contained in:
@ -29,10 +29,14 @@
|
||||
#include "../../module/motion.h"
|
||||
#include "../../module/planner.h"
|
||||
#include "../../lcd/ultralcd.h"
|
||||
#include "../../Marlin.h"
|
||||
|
||||
#include "../../Marlin.h" // for startOrResumeJob, etc.
|
||||
|
||||
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
|
||||
#include "../../module/printcounter.h"
|
||||
#if ENABLED(CANCEL_OBJECTS)
|
||||
#include "../../feature/cancel_object.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLED(SINGLENOZZLE)
|
||||
@ -126,7 +130,7 @@ void GcodeSuite::M109() {
|
||||
ui.reset_status();
|
||||
}
|
||||
else
|
||||
print_job_timer.start();
|
||||
startOrResumeJob();
|
||||
#endif
|
||||
|
||||
#if HAS_DISPLAY
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "../../feature/leds/leds.h"
|
||||
#endif
|
||||
|
||||
#include "../../Marlin.h" // for wait_for_heatup and idle()
|
||||
#include "../../Marlin.h" // for wait_for_heatup, idle, startOrResumeJob
|
||||
|
||||
/**
|
||||
* M140: Set bed temperature
|
||||
@ -59,7 +59,7 @@ void GcodeSuite::M190() {
|
||||
thermalManager.setTargetBed(parser.value_celsius());
|
||||
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
|
||||
if (parser.value_celsius() > BED_MINTEMP)
|
||||
print_job_timer.start();
|
||||
startOrResumeJob();
|
||||
#endif
|
||||
}
|
||||
else return;
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "../../feature/leds/leds.h"
|
||||
#endif
|
||||
|
||||
#include "../../Marlin.h" // for wait_for_heatup and idle()
|
||||
#include "../../Marlin.h" // for wait_for_heatup, idle, startOrResumeJob
|
||||
|
||||
/**
|
||||
* M141: Set chamber temperature
|
||||
@ -60,7 +60,7 @@ void GcodeSuite::M191() {
|
||||
thermalManager.setTargetChamber(parser.value_celsius());
|
||||
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
|
||||
if (parser.value_celsius() > BED_MINTEMP)
|
||||
print_job_timer.start();
|
||||
startOrResumeJob();
|
||||
#endif
|
||||
}
|
||||
else return;
|
||||
|
Reference in New Issue
Block a user