Actions
Bug #7883
closedAnytone HT TERMN8R can't insert channels that requere 12.5kHz step
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/16/2020
Due date:
% Done:
0%
Estimated time:
Chirp Version:
daily
Model affected:
Anytone TERMN8R
Platform:
All
I read the instructions above:
Description
- the device does include a
tune_step
field in it's channel memory block, but get_features()
setshas_tuning_step = False
and thetune_step
field is never modified.- Code trying to set channels examines
has_nostep_tuning
when deciding to emit an error
if self.valid_tuning_steps and not self.has_nostep_tuning:
try:
step = required_step(mem.freq)
if step not in self.valid_tuning_steps:
msg = ValidationError("Frequency requires %.2fkHz step" %
required_step(mem.freq))
msgs.append(msg)
except errors.InvalidDataError, e:
msgs.append(str(e))
- setting
has_nostep_tuning
works, but note thatvalid_tuning_steps
is set to[5.0, 10.0, 15.0, 20.0, 25.0, 30.0, 50.0, 100.0]
(akaCOMMON_TUNING_STEPS
), which doesn't match the settable tuning steps on the radio, which are:[2.5, 5.0, 6.25, 10.0, 12.5, 20, 25, 30, 50]
Actions