summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_uchar_to_float.block.yml
blob: cf109446c39271c9ed05b49d44bfb2c308b1f406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
id: blocks_uchar_to_float
label: UChar To Float
flags: [ python, cpp ]

inputs:
-   domain: stream
    dtype: byte

outputs:
-   domain: stream
    dtype: float

templates:
    imports: from gnuradio import blocks
    make: blocks.uchar_to_float()

cpp_templates:
    includes: ['#include <gnuradio/blocks/uchar_to_float.h>']
    declarations: 'blocks::uchar_to_float::sptr ${id};'
    make: 'this->${id} = blocks::uchar_to_float::make();'

file_format: 1