Skip to content

Commit

Permalink
S0, S9 settings even more constrained
Browse files Browse the repository at this point in the history
  • Loading branch information
egzumer committed Dec 18, 2023
1 parent 76bbaf9 commit de8c501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void SETTINGS_InitEEPROM(void)
gEeprom.VOICE_PROMPT = (Data[0] < 3) ? Data[0] : VOICE_PROMPT_ENGLISH;
#endif
#ifdef ENABLE_RSSI_BAR
if((Data[1] < 200 && Data[1] > 90) && (Data[2] < Data[1]-9 && Data[2] > 50)) {
if((Data[1] < 200 && Data[1] > 90) && (Data[2] < Data[1]-9 && Data[1] < 160 && Data[2] > 50)) {
gEeprom.S0_LEVEL = Data[1];
gEeprom.S9_LEVEL = Data[2];
}
Expand Down

0 comments on commit de8c501

Please sign in to comment.