From c3af6bd8ce731737d0812a0e554e37dc0779127f Mon Sep 17 00:00:00 2001 From: Scott Alfter Date: Wed, 8 Dec 2021 23:18:04 -0800 Subject: [PATCH] Fix Endstops::report_states (#23280) Fix regression 4d45fdf0eb --- Marlin/src/module/endstops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/endstops.cpp b/Marlin/src/module/endstops.cpp index 7c08456fa5fd..7a2cefdd4cea 100644 --- a/Marlin/src/module/endstops.cpp +++ b/Marlin/src/module/endstops.cpp @@ -564,7 +564,7 @@ void _O2 Endstops::report_states() { #if HAS_K_MAX ES_REPORT(K_MAX); #endif - #if BOTH(PROBE_ACTIVATION_SWITCH) + #if ENABLED(PROBE_ACTIVATION_SWITCH) print_es_state(probe_switch_activated(), F(STR_PROBE_EN)); #endif #if USES_Z_MIN_PROBE_PIN