Make SETTINGS_InitEEPROM zero struct gEeprom

This commit is contained in:
Juan Antonio
2023-12-12 23:03:11 +01:00
committed by egzumer
parent 34d688b101
commit bd17aea72b
2 changed files with 1 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ void SETTINGS_InitEEPROM(void)
uint8_t Data[16];
memset(Data, 0, sizeof(Data));
memset(&gEeprom, 0, sizeof(gEeprom));
// 0E70..0E77
EEPROM_ReadBuffer(0x0E70, Data, 8);