fixed bugs. ready to merge

adding_metadata_to_gr
alon 2024-02-06 14:59:55 +02:00
rodzic cda5be1b0e
commit b777fb276c
2 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -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}

Wyświetl plik

@ -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();