[chirp_devel] [PATCH] [th9800] remove duplicate fmdev extra setting #2187
# HG changeset patch # User Jens Jensen af5mi@yahoo.com # Date 1422737776 21600 # Sat Jan 31 14:56:16 2015 -0600 # Node ID 879f84ec0506db7dfa7fc73d72802368871eec8c # Parent 05767e5dabb45d0a99ca63df5705bc799e1858a3 [th9800] remove duplicate fmdev extra setting #2187
Changing mode in edit panel does not take effect due to competing extra setting fmdeviation. Remove extraneous setting, as mode covers this.
diff -r 05767e5dabb4 -r 879f84ec0506 chirp/th9800.py --- a/chirp/th9800.py Thu Jan 29 07:24:01 2015 -0600 +++ b/chirp/th9800.py Sat Jan 31 14:56:16 2015 -0600 @@ -299,12 +299,6 @@ RadioSettingValueBoolean(bool(_mem.compand))) compand.set_doc("Compress Audio") mem.extra.append(compand) - - opts = ["Wide", "Midddle", "Narrow"] - dev = RadioSetting("fmdev", "FM Deviation", - RadioSettingValueList(opts, opts[_mem.fmdev])) - dev.set_doc("Wide ~6KHz, Middle ~4KHz, Narrow ~2.5KHz") - mem.extra.append(dev)
BeatShift = RadioSetting("BeatShift", "BeatShift", RadioSettingValueBoolean(bool(_mem.BeatShift)))
participants (1)
-
Jens Jensen