Skip to content

Commit

Permalink
Fix incorrect squelch levels numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
egzumer committed Jan 9, 2024
1 parent 64042d2 commit 579c493
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uvk5_egzumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
u8 closeGlitchThr[10];
#seekto 0x1E50;
u8 openGlitchThr[10];
} sqlBand1_3;
} sqlBand4_7;
struct {
#seekto 0x1E60;
Expand All @@ -254,7 +254,7 @@
u8 closeGlitchThr[10];
#seekto 0x1EB0;
u8 openGlitchThr[10];
} sqlBand4_7;
} sqlBand1_3;
#seekto 0x1EC0;
struct {
Expand Down Expand Up @@ -2044,7 +2044,7 @@ def validate_upload_calibration(value):
for sql in range(0, 10):
prefix = "_mem.cal." + band + "."
postfix = "[" + str(sql) + "]"
appendLabel(radioSettingGroup, "Squelch " + str(sql + 1))
appendLabel(radioSettingGroup, "Squelch " + str(sql))

name = prefix + "openRssiThr" + postfix
tempval = minMaxDef(eval(name), 0, 255, 0)
Expand Down

0 comments on commit 579c493

Please sign in to comment.