summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_sub_xx.xml
diff options
context:
space:
mode:
authorTom Rondeau2012-09-22 10:48:56 -0400
committerTom Rondeau2012-09-22 10:48:56 -0400
commitddeeafa0a872d50af7f3a3eb847b05df69b75c9a (patch)
treec2cb30b57c12a39cdcc41759b85bbe8a0878c5d7 /grc/blocks/gr_sub_xx.xml
parentc85bd69a10790583896aae0b420ff777e842bc8a (diff)
downloadgnuradio-ddeeafa0a872d50af7f3a3eb847b05df69b75c9a.tar.gz
gnuradio-ddeeafa0a872d50af7f3a3eb847b05df69b75c9a.tar.bz2
gnuradio-ddeeafa0a872d50af7f3a3eb847b05df69b75c9a.zip
grc: fixed GRC subtraction block to allow a single input line (inverts the signal).
Diffstat (limited to 'grc/blocks/gr_sub_xx.xml')
-rw-r--r--grc/blocks/gr_sub_xx.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/blocks/gr_sub_xx.xml b/grc/blocks/gr_sub_xx.xml
index f1f4797e0..c677747da 100644
--- a/grc/blocks/gr_sub_xx.xml
+++ b/grc/blocks/gr_sub_xx.xml
@@ -48,7 +48,7 @@
<type>int</type>
</param>
<check>$vlen &gt; 0</check>
- <check>$num_inputs &gt;= 2</check>
+ <check>$num_inputs &gt;= 1</check>
<sink>
<name>in</name>
<type>$type</type>