[chirp_devel] [PATCH 3 of 3] [ft857] Add more settings support
Marco Filippi IZ3GME
Thu Aug 15 10:52:31 PDT 2013
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1376588349 -7200
# Node ID 01073dd3c6f4adfcd57e56deb2657fceacfe3499
# Parent 19c6ac52a4e99daff72384a492b2e5e40b5ddc4c
[ft857] Add more settings support
another bunch of panel settings
Implements part of #569
diff --git a/chirp/ft857.py b/chirp/ft857.py
--- a/chirp/ft857.py
+++ b/chirp/ft857.py
@@ -247,7 +247,11 @@
u8 beacon_time;
u8 unknown36[2];
u8 dig_vox_enable:1,
- unknown37:7;
+ unknown37:2,
+ scope_peakhold:1,
+ scope_width:2,
+ proc:1,
+ unknown38:1;
u8 unknown39:1,
rf_power_6m:7;
u8 unknown40:1,
@@ -903,6 +907,17 @@
RadioSettingValueList(options,
options[_settings.lock]))
panelcontr.append(rs)
+ rs = RadioSetting("scope_peakhold", "Scope max hold",
+ RadioSettingValueBoolean(_settings.scope_peakhold))
+ panelcontr.append(rs)
+ options = ["21", "31", "127"]
+ rs = RadioSetting("scope_width", "Scope width (channels)",
+ RadioSettingValueList(options,
+ options[_settings.scope_width]))
+ panelcontr.append(rs)
+ rs = RadioSetting("proc", "Speech processor",
+ RadioSettingValueBoolean(_settings.proc))
+ panelcontr.append(rs)
return top
More information about the chirp_devel
mailing list