Fixed saving password to EEPROM.

This commit is contained in:
Dual Tachyon 2023-10-06 09:00:13 +01:00
parent d43bbc1745
commit 8e1cf5e501

View File

@ -120,7 +120,7 @@ void SETTINGS_SaveSettings(void)
Password[0] = gEeprom.POWER_ON_PASSWORD; Password[0] = gEeprom.POWER_ON_PASSWORD;
EEPROM_WriteBuffer(0x0E98, State); EEPROM_WriteBuffer(0x0E98, Password);
memset(State, 0xFF, sizeof(State)); memset(State, 0xFF, sizeof(State));