Reset all stats during Shipping prep (#2563)
* Reset all stats during Shipping prep Last print stats were missing * keep old indentation Co-authored-by: D.R.racer <drracer@drracer.eu>
This commit is contained in:
parent
8196a5f165
commit
e481013126
@ -715,6 +715,12 @@ static void factory_reset(char level)
|
|||||||
|
|
||||||
eeprom_update_dword((uint32_t *)EEPROM_TOTALTIME, 0);
|
eeprom_update_dword((uint32_t *)EEPROM_TOTALTIME, 0);
|
||||||
eeprom_update_dword((uint32_t *)EEPROM_FILAMENTUSED, 0);
|
eeprom_update_dword((uint32_t *)EEPROM_FILAMENTUSED, 0);
|
||||||
|
|
||||||
|
eeprom_update_byte((uint8_t *)EEPROM_CRASH_COUNT_X, 0);
|
||||||
|
eeprom_update_byte((uint8_t *)EEPROM_CRASH_COUNT_Y, 0);
|
||||||
|
eeprom_update_byte((uint8_t *)EEPROM_FERROR_COUNT, 0);
|
||||||
|
eeprom_update_byte((uint8_t *)EEPROM_POWER_COUNT, 0);
|
||||||
|
|
||||||
eeprom_update_word((uint16_t *)EEPROM_CRASH_COUNT_X_TOT, 0);
|
eeprom_update_word((uint16_t *)EEPROM_CRASH_COUNT_X_TOT, 0);
|
||||||
eeprom_update_word((uint16_t *)EEPROM_CRASH_COUNT_Y_TOT, 0);
|
eeprom_update_word((uint16_t *)EEPROM_CRASH_COUNT_Y_TOT, 0);
|
||||||
eeprom_update_word((uint16_t *)EEPROM_FERROR_COUNT_TOT, 0);
|
eeprom_update_word((uint16_t *)EEPROM_FERROR_COUNT_TOT, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user