From 3c601457929ad1656e9dec49250479e0d1f9d89e Mon Sep 17 00:00:00 2001 From: tombrazier <68918209+tombrazier@users.noreply.github.com> Date: Fri, 5 Jul 2024 02:31:25 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20"calibration"=20endstop=20?= =?UTF-8?q?report=20(#27207)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup to #27204 --- Marlin/src/module/endstops.cpp | 2 +- Marlin/src/module/endstops.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/module/endstops.cpp b/Marlin/src/module/endstops.cpp index e7786749b5..e9aafa49c8 100644 --- a/Marlin/src/module/endstops.cpp +++ b/Marlin/src/module/endstops.cpp @@ -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); diff --git a/Marlin/src/module/endstops.h b/Marlin/src/module/endstops.h index 7a6da5eefa..c6788330f0 100644 --- a/Marlin/src/module/endstops.h +++ b/Marlin/src/module/endstops.h @@ -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();