mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
🎨 pause => pause_heaters
This commit is contained in:
parent
4dae5890e9
commit
7cd0f2a32a
@ -243,7 +243,7 @@ xyz_pos_t Probe::offset; // Initialized by settings.load()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
void Probe::set_probing_paused(const bool dopause) {
|
void Probe::set_probing_paused(const bool dopause) {
|
||||||
TERN_(PROBING_HEATERS_OFF, thermalManager.pause(dopause));
|
TERN_(PROBING_HEATERS_OFF, thermalManager.pause_heaters(dopause));
|
||||||
TERN_(PROBING_FANS_OFF, thermalManager.set_fans_paused(dopause));
|
TERN_(PROBING_FANS_OFF, thermalManager.set_fans_paused(dopause));
|
||||||
#if ENABLED(PROBING_STEPPERS_OFF)
|
#if ENABLED(PROBING_STEPPERS_OFF)
|
||||||
IF_DISABLED(DELTA, static uint8_t old_trusted);
|
IF_DISABLED(DELTA, static uint8_t old_trusted);
|
||||||
|
@ -2439,7 +2439,7 @@ void Temperature::disable_all_heaters() {
|
|||||||
TERN_(AUTOTEMP, planner.autotemp_enabled = false);
|
TERN_(AUTOTEMP, planner.autotemp_enabled = false);
|
||||||
|
|
||||||
// Unpause and reset everything
|
// Unpause and reset everything
|
||||||
TERN_(PROBING_HEATERS_OFF, pause(false));
|
TERN_(PROBING_HEATERS_OFF, pause_heaters(false));
|
||||||
|
|
||||||
#if HAS_HOTEND
|
#if HAS_HOTEND
|
||||||
HOTEND_LOOP() {
|
HOTEND_LOOP() {
|
||||||
@ -2498,7 +2498,7 @@ void Temperature::disable_all_heaters() {
|
|||||||
|
|
||||||
#if ENABLED(PROBING_HEATERS_OFF)
|
#if ENABLED(PROBING_HEATERS_OFF)
|
||||||
|
|
||||||
void Temperature::pause(const bool p) {
|
void Temperature::pause_heaters(const bool p) {
|
||||||
if (p != paused_for_probing) {
|
if (p != paused_for_probing) {
|
||||||
paused_for_probing = p;
|
paused_for_probing = p;
|
||||||
if (p) {
|
if (p) {
|
||||||
|
@ -838,7 +838,7 @@ class Temperature {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(PROBING_HEATERS_OFF)
|
#if ENABLED(PROBING_HEATERS_OFF)
|
||||||
static void pause(const bool p);
|
static void pause_heaters(const bool p);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HEATER_IDLE_HANDLER
|
#if HEATER_IDLE_HANDLER
|
||||||
|
Loading…
Reference in New Issue
Block a user