[chirp_devel] Fwd: [PATCH 8 of 8] [retevis_rt23.py] Add rf.valid_dtcs_codes
Jim Unroe
Sat Apr 17 18:09:27 PDT 2021
---------- Forwarded message ---------
From: Jim Unroe <kc9hi at comcast.net>
Date: Sat, Apr 17, 2021 at 9:03 PM
Subject: [PATCH 8 of 8] [retevis_rt23.py] Add rf.valid_dtcs_codes
To: <Rock.Unroe at gmail.com>
# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1618706348 14400
# Sat Apr 17 20:39:08 2021 -0400
# Node ID aaf311ad7123e46b0f75dbbb78f758628c936ac2
# Parent 0f14cb3f9b3d1f808ef58923648ffca8d7cfd7b4
[retevis_rt23.py] Add rf.valid_dtcs_codes
This patch adds "rf.valid_dtcs_codes" to the get_features(self) radio features
list so CHIRP is aware of the full list of DTCS codes supported by the radio.
related to #8995
diff -r 0f14cb3f9b3d -r aaf311ad7123 chirp/drivers/retevis_rt23.py
--- a/chirp/drivers/retevis_rt23.py Sat Apr 17 20:26:32 2021 -0400
+++ b/chirp/drivers/retevis_rt23.py Sat Apr 17 20:39:08 2021 -0400
@@ -386,6 +386,7 @@
rf.valid_power_levels = RT23_POWER_LEVELS
rf.valid_duplexes = ["", "-", "+", "split", "off"]
rf.valid_modes = ["FM", "NFM"] # 25 KHz, 12.5 KHz.
+ rf.valid_dtcs_codes = RT23_DTCS
rf.memory_bounds = (1, 128)
rf.valid_tuning_steps = _STEP_LIST
rf.valid_bands = [
More information about the chirp_devel
mailing list