summaryrefslogtreecommitdiff
path: root/grc/blocks
diff options
context:
space:
mode:
authorAlexandru Csete2011-07-01 11:12:47 -0700
committerJohnathan Corgan2011-07-01 11:12:47 -0700
commit4c503b6ab621cb15724a6f5ddc6f399d945b42bf (patch)
tree41d6948c932dfdbf33b287b77c5416d7cb4c9c28 /grc/blocks
parent441a3767e05d15e62c519ea66b848b5adb0f4b3a (diff)
downloadgnuradio-4c503b6ab621cb15724a6f5ddc6f399d945b42bf.tar.gz
gnuradio-4c503b6ab621cb15724a6f5ddc6f399d945b42bf.tar.bz2
gnuradio-4c503b6ab621cb15724a6f5ddc6f399d945b42bf.zip
gnuradio-core: add accessors for gain property of quadrature_demod_cf
Date: Tue, 17 May 2011 21:52:02 +0200 Message-ID: <BANLkTikyEo58UT4QYHRRsrQbzSXcxo2T5A@mail.gmail.com> From: Alexandru Csete <oz9aec@gmail.com> To: patch-gnuradio@gnu.org Subject: [Patch-gnuradio] set/get gain for quadrature_demod Greetings, The attached patch adds set/get gain accessors to the quadrature_demod_cf block, inspired by the similar changes to the frequency_modulator block few days ago. Alex
Diffstat (limited to 'grc/blocks')
-rw-r--r--grc/blocks/gr_quadrature_demod_cf.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/blocks/gr_quadrature_demod_cf.xml b/grc/blocks/gr_quadrature_demod_cf.xml
index a0e630c7e..fad0b3879 100644
--- a/grc/blocks/gr_quadrature_demod_cf.xml
+++ b/grc/blocks/gr_quadrature_demod_cf.xml
@@ -9,6 +9,7 @@
<key>gr_quadrature_demod_cf</key>
<import>from gnuradio import gr</import>
<make>gr.quadrature_demod_cf($gain)</make>
+ <callback>set_gain($gain)</callback>
<param>
<name>Gain</name>
<key>gain</key>