[chirp_devel] [PATCH] [FT8x7] Support for attenuator flag
Marco Filippi IZ3GME
Tue May 22 12:02:10 PDT 2012
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1337702261 -7200
# Node ID 6584d54fd0ba7b63436787f6e31ecdc3e36d4c01
# Parent 03593b9e97e26c5ddd0b577d29c6492e282551a0
[FT8x7] Support for attenuator flag
Demonstration for #165
diff -r 03593b9e97e2 -r 6584d54fd0ba chirp/ft817.py
--- a/chirp/ft817.py lun mag 21 14:38:53 2012 -0600
+++ b/chirp/ft817.py mar mag 22 17:57:41 2012 +0200
@@ -519,6 +519,11 @@
RadioSettingValueBoolean(bool(_mem.ipo)))
ipo.set_doc("Bypass preamp")
mem.extra.append(ipo)
+
+ att = RadioSetting("ATT", "att",
+ RadioSettingValueBoolean(bool(_mem.att)))
+ att.set_doc("10dB front end attenuator")
+ mem.extra.append(att)
return mem
@@ -554,8 +559,6 @@
i += 1
_mem.tx_freq_range = i
_mem.skip = mem.skip == "S"
- _mem.ipo = 0 # not supported in chirp
- _mem.att = 0 # not supported in chirp
self._set_tmode(mem, _mem)
try:
_mem.ssb_step = self.STEPSSSB.index(mem.tuning_step)
More information about the chirp_devel
mailing list