0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-03-13 01:40:09 +00:00

🩹 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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -258,7 +258,7 @@ class Endstops {
#if ENABLED(CALIBRATION_GCODE)
static volatile bool calibration_probe_enabled;
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
static void resync();