🩹 Fix "calibration" endstop report (#27207)

Followup to #27204
This commit is contained in:
tombrazier
2024-07-05 02:31:25 +01:00
committed by GitHub
parent f2940adcf1
commit 3c60145792
2 changed files with 2 additions and 2 deletions

View File

@@ -1307,7 +1307,7 @@ void Endstops::update() {
ES_REPORT_CHANGE(Z_MIN_PROBE); ES_REPORT_CHANGE(Z_MIN_PROBE);
#endif #endif
#if USE_CALIBRATION #if USE_CALIBRATION
ES_REPORT_STATE(CALIBRATION); ES_REPORT_CHANGE(CALIBRATION);
#endif #endif
#if USE_X2_MIN #if USE_X2_MIN
ES_REPORT_CHANGE(X2_MIN); ES_REPORT_CHANGE(X2_MIN);

View File

@@ -258,7 +258,7 @@ class Endstops {
#if ENABLED(CALIBRATION_GCODE) #if ENABLED(CALIBRATION_GCODE)
static volatile bool calibration_probe_enabled; static volatile bool calibration_probe_enabled;
static volatile bool calibration_stop_state; static volatile bool calibration_stop_state;
static void enable_calibration_probe(const bool onoff,const bool stop_state = true); static void enable_calibration_probe(const bool onoff, const bool stop_state=true);
#endif #endif
static void resync(); static void resync();