[chirp_devel] [PATCH] [BTECH] Add new settings for BTECH gen3 radios
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1464013811 14400 # Node ID 77bd2ad5e4e37248f31d56a7aa122956848e7bb2 # Parent 41195d73360b401e4f34f31cf87e4d79f09e70ee [BTECH] Add new settings for BTECH gen3 radios
* Mic Gain * DTMF Gain
related to #3015
diff -r 41195d73360b -r 77bd2ad5e4e3 chirp/drivers/btech.py --- a/chirp/drivers/btech.py Tue May 17 11:07:32 2016 -0400 +++ b/chirp/drivers/btech.py Mon May 23 10:30:11 2016 -0400 @@ -96,6 +96,8 @@ u8 ste; u8 rpste; u8 rptdl; + u8 mgain; + u8 dtmfg; } settings;
#seekto 0x0E80; @@ -1236,6 +1238,18 @@ _mem.settings.rptdl])) basic.append(rptdl)
+ if str(_mem.fingerprint.fp) in BTECH3: + + mgain = RadioSetting("settings.mgain", "Mic gain", + RadioSettingValueInteger(0, 120, + _mem.settings.mgain)) + basic.append(mgain) + + dtmfg = RadioSetting("settings.dtmfg", "DTMF gain", + RadioSettingValueInteger(0, 60, + _mem.settings.dtmfg)) + basic.append(dtmfg) + # Advanced def _filter(name): filtered = ""
participants (1)
-
Jim Unroe