kopia lustrzana https://github.com/sq5bpf/uvk5-reverse-engineering
correct writing memory channels below 50MHz in radios with hacked firmware
rodzic
bed08b1b13
commit
1156789f09
5
uvk5.py
5
uvk5.py
|
@ -571,6 +571,11 @@ def _find_band(self, hz):
|
|||
B = BANDS_NOLIMITS
|
||||
else:
|
||||
B = BANDS
|
||||
|
||||
# currently the hacked firmware sets band=1 below 50MHz
|
||||
if self.FIRMWARE_NOLIMITS and mhz < 50.0:
|
||||
return 1
|
||||
|
||||
for a in B:
|
||||
if mhz >= B[a][0] and mhz <= B[a][1]:
|
||||
return a
|
||||
|
|
Ładowanie…
Reference in New Issue