1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Fix runout debug output

Followup to #12544
This commit is contained in:
Scott Lahteine 2018-11-27 16:41:26 -06:00
parent cecc238f68
commit cd88ea2106

View File

@ -186,8 +186,12 @@ class FilamentSensorBase {
old_state = new_state;
#ifdef FILAMENT_RUNOUT_SENSOR_DEBUG
for (uint8_t e = 0; e < EXTRUDERS; e++)
if (TEST(change, e)) SERIAL_PROTOCOLLNPAIR("Motion detected T", e);
if (change) {
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
motion_detected |= change;