Skip to content

Commit ac8a237

Browse files
committed
Lower sql noise calibration settings constraint to 127
1 parent 390ee90 commit ac8a237

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

uvk5_egzumer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2059,14 +2059,14 @@ def validate_upload_calibration(value):
20592059
radioSettingGroup.append(radioSetting)
20602060

20612061
name = prefix + "openNoiseThr" + postfix
2062-
tempval = minMaxDef(eval(name), 0, 255, 0)
2063-
val = RadioSettingValueInteger(0, 255, tempval)
2062+
tempval = minMaxDef(eval(name), 0, 127, 0)
2063+
val = RadioSettingValueInteger(0, 127, tempval)
20642064
radioSetting = RadioSetting(name, "Noise threshold open", val)
20652065
radioSettingGroup.append(radioSetting)
20662066

20672067
name = prefix + "closeNoiseThr" + postfix
2068-
tempval = minMaxDef(eval(name), 0, 255, 0)
2069-
val = RadioSettingValueInteger(0, 255, tempval)
2068+
tempval = minMaxDef(eval(name), 0, 127, 0)
2069+
val = RadioSettingValueInteger(0, 127, tempval)
20702070
radioSetting = RadioSetting(name, "Noise threshold close", val)
20712071
radioSettingGroup.append(radioSetting)
20722072

0 commit comments

Comments
 (0)