Skip to content

Commit

Permalink
Update settings.c
Browse files Browse the repository at this point in the history
  • Loading branch information
losehu authored Jun 15, 2024
1 parent c9b1cf0 commit bc75b7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void SETTINGS_InitEEPROM(void)
gEeprom.KEY_2_SHORT_PRESS_ACTION = (Data[3] < ACTION_OPT_LEN-2) ? Data[3] : ACTION_OPT_WIDTH;
gEeprom.KEY_2_LONG_PRESS_ACTION = (Data[4] < ACTION_OPT_LEN) ? Data[4] : ACTION_OPT_FLASHLIGHT;
#endif

gEeprom.MDC_AUDIO_LOCAL = Data[5];
// 0E98..0E9F
EEPROM_ReadBuffer(0x0E98, Data, 8);
memcpy(&gEeprom.POWER_ON_PASSWORD, Data, 4);
Expand Down Expand Up @@ -812,4 +812,4 @@ void SETTINGS_WriteBuildOptions(void)
#endif
;
EEPROM_WriteBuffer(0x1FF0, buf,8);
}
}

0 comments on commit bc75b7e

Please sign in to comment.