1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-28 22:35:21 +00:00

Fix Endstops::report_states (#23280)

Fix regression 4d45fdf0eb
This commit is contained in:
Scott Alfter 2021-12-08 23:18:04 -08:00 committed by Scott Lahteine
parent 1ccaad7a9b
commit c3af6bd8ce

View File

@ -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