[chirp_devel] [PATCH 6 of 7] [bf888] specify valid cross tone modes

Marco Filippi IZ3GME
Sun Sep 14 03:47:07 PDT 2014


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1410690924 -7200
#      dom set 14 12:35:24 2014 +0200
# Node ID 9f981974c81e0068aa7b39f12ac6fbd64fe52f55
# Parent  ae8f9d0e612c02f988a8dbfd6f12a01cfb447762
[bf888] specify valid cross tone modes

The list of valid cross tone modes is changed in UI and can change again in the
future, we have to specify the correct list for each radio

side effect of fix for #1901

diff -r ae8f9d0e612c -r 9f981974c81e chirp/h777.py
--- a/chirp/h777.py	dom set 14 12:18:01 2014 +0200
+++ b/chirp/h777.py	dom set 14 12:35:24 2014 +0200
@@ -257,6 +257,14 @@
         rf.has_rx_dtcs = True
         rf.has_ctone = True
         rf.has_cross = True
+        rf.valid_cross_modes = [
+            "Tone->Tone",
+            "DTCS->",
+            "->DTCS",
+            "Tone->DTCS",
+            "DTCS->Tone",
+            "->Tone",
+            "DTCS->DTCS"]
         rf.has_tuning_step = False
         rf.has_bank = False
         rf.has_name = False



More information about the chirp_devel mailing list