Skip to content

Commit

Permalink
🔧 MKS_UI runout pins
Browse files Browse the repository at this point in the history
Partial work on #22591
  • Loading branch information
thinkyhead committed Jan 14, 2025
1 parent 51fa750 commit fbaae76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Marlin/src/module/endstops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ void __O2 Endstops::report_states() {
#endif
#if MULTI_FILAMENT_SENSOR
#define _CASE_RUNOUT(N) do{ \
SERIAL_ECHOPGM(STR_FILAMENT); if (N > 1) SERIAL_CHAR(' ', '0' + N); \
SERIAL_ECHO(F(STR_FILAMENT)); \
if ((N) > 1) SERIAL_CHAR(' ', '0' + char(N)); \
print_es_state(!FILAMENT_IS_OUT(N)); \
}while(0);
REPEAT_1(NUM_RUNOUT_SENSORS, _CASE_RUNOUT)
Expand Down

0 comments on commit fbaae76

Please sign in to comment.