# HG changeset patch
# User Jim Unroe
# Date 1605272824 18000
# Fri Nov 13 08:07:04 2020 -0500
# Node ID d5e496f563fdfc9ea89dea5f119357235b82db6f
# Parent e2087ff853f21377832b5945f1b86cec8744a8bc
[TH-UVF1] Add TYT TH-UVF1 Valid Tuning Steps
This patch adds rf.valid_tuning_steps
Fixes #8031
diff -r e2087ff853f2 -r d5e496f563fd chirp/drivers/thuv1f.py
--- a/chirp/drivers/thuv1f.py Fri Nov 06 20:39:57 2020 -0500
+++ b/chirp/drivers/thuv1f.py Fri Nov 13 08:07:04 2020 -0500
@@ -176,6 +176,7 @@
PTTID_LIST = ["Off", "BOT", "EOT", "Both"]
BCL_LIST = ["Off", "CSQ", "QT/DQT"]
CODES_LIST = [x for x in range(1, 9)]
+STEPS = [5.0, 6.25, 7.5, 10.0, 12.5, 25.0, 37.5, 50.0, 100.0]
@directory.register
@@ -202,6 +203,7 @@
rf.valid_skips = ["", "S"]
rf.valid_power_levels = POWER_LEVELS
rf.valid_modes = ["FM", "NFM"]
+ rf.valid_tuning_steps = STEPS
rf.valid_name_length = 7
rf.valid_cross_modes = ["Tone->Tone", "DTCS->DTCS",
"Tone->DTCS", "DTCS->Tone",