Misc Power Loss cleanup

This commit is contained in:
Scott Lahteine
2021-05-07 22:36:36 -05:00
parent 8fd4bfc0e7
commit 9f7177c67d
2 changed files with 17 additions and 15 deletions

View File

@@ -42,6 +42,10 @@
#define POWER_LOSS_STATE HIGH
#endif
#ifndef POWER_LOSS_ZRAISE
#define POWER_LOSS_ZRAISE 2
#endif
//#define DEBUG_POWER_LOSS_RECOVERY
//#define SAVE_EACH_CMD_MODE
//#define SAVE_INFO_INTERVAL_MS 0
@@ -52,6 +56,7 @@ typedef struct {
// Machine state
xyze_pos_t current_position;
uint16_t feedrate;
float zraise;
// Repeat information