[chirp_devel] [PATCH] Invert default return from _detect_23cm_unit
Martin Cooper
Thu Jul 16 16:33:14 PDT 2020
# HG changeset patch
# User Martin Cooper <mfncooper at gmail.com>
# Date 1594942267 25200
# Thu Jul 16 16:31:07 2020 -0700
# Node ID bd5e44301bc4278c8020dd250041e5a82632d92a
# Parent 061e53a8a2cc1699bda1df5464be505ca32d572f
Invert default return from _detect_23cm_unit
diff --git a/chirp/drivers/icomciv.py b/chirp/drivers/icomciv.py
--- a/chirp/drivers/icomciv.py
+++ b/chirp/drivers/icomciv.py
@@ -857,7 +857,7 @@
# installed, so we present 2 banks to the user, for 2m and 70cm.
def _detect_23cm_unit(self):
if not self.pipe:
- return False
+ return True
f = IC910MemFrame()
f.set_location(1, 3) # First memory in 23cm bank
self._send_frame(f)
More information about the chirp_devel
mailing list