aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Johnson <ejohnson73@gmail.com>2019-07-12 18:45:53 -0400
committerMartin Braun <martin.braun@ettus.com>2020-01-02 15:29:01 -0800
commitdb7b3af0b14bab1ebd9279c5568e7932972995fb (patch)
tree2331b79c18a07aabb9b1e1ac2ac310f5c28363a0
parentfixup! fixup! qtgui: for some QWT versions, ordering matters (diff)
downloadgnuradio-db7b3af0b14bab1ebd9279c5568e7932972995fb.tar.xz
gnuradio-db7b3af0b14bab1ebd9279c5568e7932972995fb.zip
digital: examples: Correct framebits uhd_packet_rx*.grc
The example grc files have an incorrect parameter for framebits in the dec_hdr block. This is correct in packet_loopback_hier.grc. The files uhd_packet_rx.grc and uhd_packet_rx_tun.grc both contained this error since creation. This error causes the blocks to get in sort of a deadlock when receiving the header with the dummy FEC.
-rw-r--r--gr-digital/examples/packet/uhd_packet_rx.grc2
-rw-r--r--gr-digital/examples/packet/uhd_packet_rx_tun.grc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-digital/examples/packet/uhd_packet_rx.grc b/gr-digital/examples/packet/uhd_packet_rx.grc
index 8d902a5b1..89202ee33 100644
--- a/gr-digital/examples/packet/uhd_packet_rx.grc
+++ b/gr-digital/examples/packet/uhd_packet_rx.grc
@@ -482,7 +482,7 @@
</param>
<param>
<key>framebits</key>
- <value>8000</value>
+ <value>hdr_format.header_nbits()</value>
</param>
<param>
<key>_coordinate</key>
diff --git a/gr-digital/examples/packet/uhd_packet_rx_tun.grc b/gr-digital/examples/packet/uhd_packet_rx_tun.grc
index c64cd95b2..85e4c142d 100644
--- a/gr-digital/examples/packet/uhd_packet_rx_tun.grc
+++ b/gr-digital/examples/packet/uhd_packet_rx_tun.grc
@@ -482,7 +482,7 @@
</param>
<param>
<key>framebits</key>
- <value>8000</value>
+ <value>hdr_format.header_nbits()</value>
</param>
<param>
<key>_coordinate</key>