diff -r 60b0754e45de chirp/drivers/anytone.py --- a/chirp/drivers/anytone.py Thu Oct 24 15:46:01 2019 +0200 +++ b/chirp/drivers/anytone.py Thu Mar 12 19:42:47 2020 -0700 @@ -30,6 +30,8 @@ LOG = logging.getLogger(__name__) +STEPS = [2.5, 5.0, 10.0, 12.5, 20.0, 25.0, 30.0, 50.0, 100.0] + _mem_format = """ #seekto 0x0100; struct { @@ -205,7 +207,7 @@ response = radio.pipe.read(3) if response != "QX\x06": LOG.debug("Response was:\n%s" % util.hexprint(response)) - raise errors.RadioError("Unsupported model") + raise errors.RadioError("Unsupported model or bad connection") _echo_write(radio, "\x02") response = radio.pipe.read(16) LOG.debug(util.hexprint(response)) @@ -354,6 +356,7 @@ rf.has_bank = False rf.has_cross = True rf.has_tuning_step = False + rf.valid_tuning_steps = STEPS rf.has_rx_dtcs = True rf.valid_skips = ["", "S", "P"] rf.valid_modes = ["FM", "NFM", "AM"]