Skip to content

Commit

Permalink
Fix EEPROM_CHECK_SHEET_TYPE reset to Warn
Browse files Browse the repository at this point in the history
after boot.
  • Loading branch information
3d-gussner committed Jan 10, 2025
1 parent a66d5bb commit 5e60a15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Firmware/eeprom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e60a15

Please sign in to comment.