diff --git a/software/gr-caribouLite/grc/caribouLite_caribouLiteSource.block.yml b/software/gr-caribouLite/grc/caribouLite_caribouLiteSource.block.yml index 3512f82..ed5058d 100644 --- a/software/gr-caribouLite/grc/caribouLite_caribouLiteSource.block.yml +++ b/software/gr-caribouLite/grc/caribouLite_caribouLiteSource.block.yml @@ -41,6 +41,7 @@ parameters: default: 900000000.0 - id: provide_meta + label: output meta data dtype: enum options: ['True', 'False'] hide: part @@ -63,7 +64,7 @@ outputs: domain: stream dtype: complex -- label: sync +- label: meta domain: stream dtype: byte hide: ${False if str(provide_meta)=='True' else True} diff --git a/software/gr-caribouLite/lib/caribouLiteSource_impl.cc b/software/gr-caribouLite/lib/caribouLiteSource_impl.cc index 60dd2dd..243b328 100644 --- a/software/gr-caribouLite/lib/caribouLiteSource_impl.cc +++ b/software/gr-caribouLite/lib/caribouLiteSource_impl.cc @@ -57,7 +57,8 @@ namespace gr { bool provide_meta) : gr::sync_block("caribouLiteSource", gr::io_signature::make(0, 0, 0), - gr::io_signature::make(1 /* min outputs */, 2 /*max outputs */, sizeof(gr_complex))) + gr::io_signature::make(1, 2, {sizeof(gr_complex), sizeof(uint8_t)}) + ) { detectBoard();