Fix EEPROM_CHECK_SHEET_TYPE reset to `Warn`

after boot.
This commit is contained in:
3d-gussner 2025-01-10 12:11:39 +01:00
parent 9a189e8f64
commit 7c878ed253
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ void eeprom_init()
check_babystep();
#ifdef STEEL_SHEET_TYPES
eeprom_default_sheet_type();
if (eeprom_read_byte((uint8_t*)EEPROM_CHECK_SHEET_TYPE) == EEPROM_EMPTY_VALUE) {
eeprom_default_sheet_type();
}
#endif //STEEL_SHEET_TPYES
// initialize custom mendel name in eeprom