mirror of
https://github.com/kk7ds/chirp
synced 2026-08-13 17:51:36 -04:00
Driver Maintenance: retevis_rt1
1. Add to PEP8 manifest 2. Perform PEP8 cleanup fixes #8621
This commit is contained in:
parent
06984dc9ab
commit
9ee0dc80c8
3 changed files with 5 additions and 4 deletions
|
|
@ -304,7 +304,7 @@ def do_upload(radio):
|
|||
|
||||
bands = ["VHF", "UHF"]
|
||||
image_band = radio_band = "unknown"
|
||||
for i in range(0,2):
|
||||
for i in range(0, 2):
|
||||
if image_model == MODELS[i]:
|
||||
image_band = bands[i]
|
||||
if radio_model == MODELS[i]:
|
||||
|
|
@ -672,8 +672,8 @@ class RT1Radio(chirp_common.CloneModeRadio):
|
|||
val = _settings.scanspeed
|
||||
rs = RadioSetting("scanspeed", "Scan Speed[ms]",
|
||||
RadioSettingValueList(
|
||||
LIST_SCANSPEED,
|
||||
LIST_SCANSPEED[val]))
|
||||
LIST_SCANSPEED,
|
||||
LIST_SCANSPEED[val]))
|
||||
basic.append(rs)
|
||||
|
||||
if _settings.scandelay > 27:
|
||||
|
|
@ -738,7 +738,7 @@ class RT1Radio(chirp_common.CloneModeRadio):
|
|||
# testing the file data size
|
||||
if len(filedata) in [0x0400, ]:
|
||||
match_size = True
|
||||
|
||||
|
||||
# testing the model fingerprint
|
||||
match_model = model_match(cls, filedata)
|
||||
|
||||
|
|
|
|||
BIN
tests/images/Retevis_RT1.img
Normal file
BIN
tests/images/Retevis_RT1.img
Normal file
Binary file not shown.
|
|
@ -75,6 +75,7 @@
|
|||
./chirp/drivers/mursv1.py
|
||||
./chirp/drivers/puxing.py
|
||||
./chirp/drivers/radioddity_r2.py
|
||||
./chirp/drivers/retevis_rt1.py
|
||||
./chirp/drivers/retevis_rt22.py
|
||||
./chirp/drivers/rfinder.py
|
||||
./chirp/drivers/template.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue