---------- Forwarded message --------- From: Jim Unroe kc9hi@comcast.net Date: Sat, Apr 17, 2021 at 9:03 PM Subject: [PATCH 6 of 8] [retevis_rt26.py] Add rf.valid_dtcs_codes To: Rock.Unroe@gmail.com
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1618705382 14400 # Sat Apr 17 20:23:02 2021 -0400 # Node ID 2d31d49616aa1594718c6b17379df01acb5e0651 # Parent c524188d05ef5ed726fc57c0d13a8adcdcbdaada [retevis_rt26.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 c524188d05ef -r 2d31d49616aa chirp/drivers/retevis_rt26.py --- a/chirp/drivers/retevis_rt26.py Sat Apr 17 20:20:09 2021 -0400 +++ b/chirp/drivers/retevis_rt26.py Sat Apr 17 20:23:02 2021 -0400 @@ -392,6 +392,7 @@ rf.valid_power_levels = RT26_POWER_LEVELS rf.valid_duplexes = ["", "-", "+", "split", "off"] rf.valid_modes = ["NFM", "FM"] # 12.5 KHz, 25 kHz. + rf.valid_dtcs_codes = RT26_DTCS rf.memory_bounds = (1, 16) rf.valid_tuning_steps = [2.5, 5., 6.25, 10., 12.5, 25.] rf.valid_bands = [(400000000, 520000000)]