|
|
|
@ -106,6 +106,8 @@ typedef struct {
|
|
|
|
|
|
|
|
|
|
uint8_t valid_foot;
|
|
|
|
|
|
|
|
|
|
bool valid() { return valid_head && valid_head == valid_foot; }
|
|
|
|
|
|
|
|
|
|
} job_recovery_info_t;
|
|
|
|
|
|
|
|
|
|
class PrintJobRecovery {
|
|
|
|
@ -164,7 +166,7 @@ class PrintJobRecovery {
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
static inline bool valid() { return info.valid_head && info.valid_head == info.valid_foot; }
|
|
|
|
|
static inline bool valid() { return info.valid(); }
|
|
|
|
|
|
|
|
|
|
#if ENABLED(DEBUG_POWER_LOSS_RECOVERY)
|
|
|
|
|
static void debug(PGM_P const prefix);
|
|
|
|
|