Skip to content
Snippets Groups Projects
Commit c5606d41 authored by gjbradford's avatar gjbradford
Browse files

fix grc import error for phy blocks

parent 0b3ef3a2
Branches
No related tags found
No related merge requests found
......@@ -46,8 +46,8 @@ outputs:
optional: true
templates:
imports: 'from phy_rx import phy_rx # grc-generated hier_block'
make: "phy_rx(\n excess_bw=${ excess_bw },\n sps=${ sps },\n)"
imports: from gnuradio import cdc
make: cdc.phy_rx(excess_bw=${excess_bw}, sps=${sps})
callbacks:
- set_excess_bw(${excess_bw})
- set_sps(${sps})
......
......@@ -39,9 +39,8 @@ outputs:
optional: true
templates:
imports: 'from phy_tx import phy_tx # grc-generated hier_block'
make: "phy_tx(\n excess_bw=${ excess_bw },\n phasing=${ phasing },\n \
\ sps=${ sps },\n)"
imports: from gnuradio import cdc
make: cdc.phy_tx(excess_bw=${excess_bw}, phasing=${phasing}, sps=${sps})
callbacks:
- set_excess_bw(${excess_bw})
- set_phasing(${phasing})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment