From 86bcdba2c419b65ae3a08bb39f507a07a05e9218 Mon Sep 17 00:00:00 2001 From: Kosta A Date: Tue, 28 Feb 2023 23:29:05 -0800 Subject: [PATCH] Adds IC-V86 test image and fix failing tests. --- chirp/drivers/icv86.py | 4 +--- tests/images/Icom_IC-V86.img | Bin 0 -> 5677 bytes 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 tests/images/Icom_IC-V86.img diff --git a/chirp/drivers/icv86.py b/chirp/drivers/icv86.py index 52e84e01..a5e38e49 100644 --- a/chirp/drivers/icv86.py +++ b/chirp/drivers/icv86.py @@ -112,8 +112,6 @@ class ICV86Radio(icf.IcomCloneModeRadio): """Icom IC-V86""" VENDOR = "Icom" MODEL = "IC-V86" - # read clone response after each clone frame is sent - MUNCH_CLONE_RESP = True _model = "\x40\x66\x00\x01" _memsize = 5504 @@ -343,7 +341,7 @@ class ICV86Radio(icf.IcomCloneModeRadio): _mem.duplex = DUPLEXES.index(mem.duplex) _mem.dtcs_polarity = DTCS_POLARITY.index(mem.dtcs_polarity) _mem.tmode = TMODES.index(mem.tmode) - _mem.power = POWER_LEVELS.index(mem.power) + _mem.power = 0 if mem.power is None else POWER_LEVELS.index(mem.power) for setting in mem.extra: setattr(_mem, setting.get_name(), setting.value) diff --git a/tests/images/Icom_IC-V86.img b/tests/images/Icom_IC-V86.img new file mode 100644 index 0000000000000000000000000000000000000000..bda6e083c586e37a1d57afe4722963301c9e623c GIT binary patch literal 5677 zcmZQz00Tw{#lWC|24LdE(g*&df`6!71aCitIpO_gjsxnP5PLZ|K-RDz+l5P>4XB8T zfrpWa73_2-21Z5}Mn)!}7!w04Gb1zD47jh5O+;qTMCOc0_JQrY!GZ4V=;Nb+6#k%a z2Vrn>7!@B4htc!^E|*601*Ci)4TsTi7_Bcx>&MY@V6+?w3OVi%4DOQvZPF~n&PPNl#EE@>=NHB$4cKU*Gk`zWU%_=T)*PT2)`=Nto(G( w>>$&mT(^?MaKGTl@SuVu1GnPDaJMSY%<^>4yr_)i+?