Skip to content

Commit

Permalink
gr-filter: cpp code genration fails for root raised cosine filter
Browse files Browse the repository at this point in the history
The rrc block has no parameter type.fcn, which is wrongly  used in cpp code generation
but not in python code generation.

Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
  • Loading branch information
dl1ksv authored and mormj committed Aug 23, 2021
1 parent 314a870 commit 7b10a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gr-filter/grc/filter_root_raised_cosine_filter.block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ cpp_templates:
make: |-
this->${id} = filter::${type}::make(
${ interp if str(type).startswith('interp') else decim },
firdes.${type.fcn}(
firdes::root_raised_cosine(
${gain},
${samp_rate},
${sym_rate},
Expand Down

0 comments on commit 7b10a9e

Please sign in to comment.