|
@@ -186,8 +186,12 @@ class FilamentSensorBase {
|
186
|
186
|
old_state = new_state;
|
187
|
187
|
|
188
|
188
|
#ifdef FILAMENT_RUNOUT_SENSOR_DEBUG
|
189
|
|
- for (uint8_t e = 0; e < EXTRUDERS; e++)
|
190
|
|
- if (TEST(change, e)) SERIAL_PROTOCOLLNPAIR("Motion detected T", e);
|
|
189
|
+ if (change) {
|
|
190
|
+ SERIAL_PROTOCOLPGM("Motion detected:");
|
|
191
|
+ for (uint8_t e = 0; e < NUM_RUNOUT_SENSORS; e++)
|
|
192
|
+ if (TEST(change, e)) { SERIAL_CHAR(' '); SERIAL_CHAR('0' + e); }
|
|
193
|
+ SERIAL_EOL();
|
|
194
|
+ }
|
191
|
195
|
#endif
|
192
|
196
|
|
193
|
197
|
motion_detected |= change;
|