[chirp_devel] [PATCH 2 of 2] Make the FT-817 driver declare the has_nostep_tuning feature. This prevents

Dan Smith
Tue Jan 17 16:27:58 PST 2012


# HG changeset patch
# User Dan Smith <dsmith at danplanet.com>
# Date 1326846449 28800
# Node ID bd119ddce0461ca436376f49932c45de8ee7996b
# Parent  b51a59425d8352815637e5187cb9ea194441534f
Make the FT-817 driver declare the has_nostep_tuning feature. This prevents
the UI from stopping a user from setting a frequency that doesn't match one
of the declared tuning steps (such as 146.000001).

diff -r b51a59425d83 -r bd119ddce046 chirp/ft817.py
--- a/chirp/ft817.py	Tue Jan 17 16:25:06 2012 -0800
+++ b/chirp/ft817.py	Tue Jan 17 16:27:29 2012 -0800
@@ -190,6 +190,7 @@
         rf = chirp_common.RadioFeatures()
         rf.has_bank = False
         rf.has_dtcs_polarity = False
+        rf.has_nostep_tuning = True
         rf.valid_modes = list(set(MODES))
         rf.valid_tmodes = list(TMODES)
         rf.valid_duplexes = list(DUPLEX)



More information about the chirp_devel mailing list