Improved EEPROM-Formatting

This commit is contained in:
2022-08-24 20:59:00 +02:00
parent 3811834927
commit 685832cff8
4 changed files with 19 additions and 9 deletions

View File

@@ -94,6 +94,16 @@ typedef struct
uint32_t checksum = 0;
} LubeConfig_t;
const LubeConfig_t LubeConfig_defaults{
0, 8000, 4000, 320, 72, 30, 1, 150, 70, 18, 2000, 25, SOURCE_IMPULSE,
#ifdef FEATURE_ENABLE_GPS
BAUD_115200,
#endif
#ifdef FEATURE_ENABLE_CAN
KTM_890_ADV_R_2021,
#endif
0};
void InitEEPROM();
void EEPROM_Process();
void StoreConfig_EEPROM();