parent
cecc238f68
commit
cd88ea2106
1 changed files with 6 additions and 2 deletions
|
@ -186,8 +186,12 @@ class FilamentSensorBase {
|
||||||
old_state = new_state;
|
old_state = new_state;
|
||||||
|
|
||||||
#ifdef FILAMENT_RUNOUT_SENSOR_DEBUG
|
#ifdef FILAMENT_RUNOUT_SENSOR_DEBUG
|
||||||
for (uint8_t e = 0; e < EXTRUDERS; e++)
|
if (change) {
|
||||||
if (TEST(change, e)) SERIAL_PROTOCOLLNPAIR("Motion detected T", e);
|
SERIAL_PROTOCOLPGM("Motion detected:");
|
||||||
|
for (uint8_t e = 0; e < NUM_RUNOUT_SENSORS; e++)
|
||||||
|
if (TEST(change, e)) { SERIAL_CHAR(' '); SERIAL_CHAR('0' + e); }
|
||||||
|
SERIAL_EOL();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
motion_detected |= change;
|
motion_detected |= change;
|
||||||
|
|
Reference in a new issue