Update debug_printer_states
This commit is contained in:
parent
16aa2e7834
commit
112d3c672c
|
|
@ -313,6 +313,11 @@ extern LongTimer safetyTimer;
|
|||
// the print is paused, that still counts as a "running" print.
|
||||
bool printJobOngoing();
|
||||
|
||||
// Make debug_printer_states available everywhere
|
||||
#ifdef DEBUG_PRINTER_STATES
|
||||
void debug_printer_states();
|
||||
#endif //DEBUG_PRINTER_STATES
|
||||
|
||||
// Printing is paused according to SD or host indicators
|
||||
bool printingIsPaused();
|
||||
|
||||
|
|
|
|||
|
|
@ -572,6 +572,7 @@ void debug_printer_states()
|
|||
printf_P(PSTR("DBG:fsensor.isEnabled() = %d\n"), (int)fsensor.isEnabled());
|
||||
printf_P(PSTR("DBG:fsensor.getAutoLoadEnabled() = %d\n"), (int)fsensor.getAutoLoadEnabled());
|
||||
printf_P(PSTR("DBG:custom_message_type = %d\n"), (int)custom_message_type);
|
||||
printf_P(PSTR("DBG:uvlo_auto_recovery_ready = %d\n"), (int)uvlo_auto_recovery_ready);
|
||||
SERIAL_ECHOLN("");
|
||||
}
|
||||
#endif //End DEBUG_PRINTER_STATES
|
||||
|
|
@ -6053,6 +6054,9 @@ Sigma_Exit:
|
|||
SetHostStatusScreenName(str.GetUnquotedString());
|
||||
}
|
||||
}
|
||||
#ifdef DEBUG_PRINTER_STATES
|
||||
debug_printer_states();
|
||||
#endif //DEBUG_PRINTER_STATES
|
||||
|
||||
if (eeprom_read_byte((uint8_t*)EEPROM_UVLO_PRINT_TYPE) == PowerPanic::PRINT_TYPE_HOST
|
||||
&& printer_recovering()
|
||||
|
|
|
|||
|
|
@ -136,16 +136,16 @@ extern LcdCommands lcd_commands_type;
|
|||
|
||||
enum class CustomMsg : uint_least8_t
|
||||
{
|
||||
Status, //!< status message from lcd_status_message variable
|
||||
MeshBedLeveling, //!< Mesh bed leveling in progress
|
||||
FilamentLoading, //!< Loading filament in progress
|
||||
PidCal, //!< PID tuning in progress
|
||||
TempCal, //!< PINDA temperature calibration
|
||||
TempCompPreheat, //!< Temperature compensation preheat
|
||||
M0Wait, //!< M0/M1 Wait command working even from SD
|
||||
M117, //!< M117 Set the status line message on the LCD
|
||||
Resuming, //!< Resuming message
|
||||
MMUProgress, ///< MMU progress message
|
||||
Status, //!< 0 status message from lcd_status_message variable
|
||||
MeshBedLeveling, //!< 1 Mesh bed leveling in progress
|
||||
FilamentLoading, //!< 2 Loading filament in progress
|
||||
PidCal, //!< 3 PID tuning in progress
|
||||
TempCal, //!< 4 PINDA temperature calibration
|
||||
TempCompPreheat, //!< 5 Temperature compensation preheat
|
||||
M0Wait, //!< 6 M0/M1 Wait command working even from SD
|
||||
M117, //!< 7 M117 Set the status line message on the LCD
|
||||
Resuming, //!< 8 Resuming message
|
||||
MMUProgress, ///< 9 MMU progress message
|
||||
};
|
||||
|
||||
extern CustomMsg custom_message_type;
|
||||
|
|
|
|||
Loading…
Reference in New Issue