Skip to content
Snippets Groups Projects
Commit b88ba88e authored by Sven Gestegård Robertz's avatar Sven Gestegård Robertz
Browse files

added todo comment to c decoder

parent 74c192aa
Branches
Tags
No related merge requests found
...@@ -279,9 +279,11 @@ static int decode_pragma(struct labcomm_decoder *d, int len) ...@@ -279,9 +279,11 @@ static int decode_pragma(struct labcomm_decoder *d, int len)
goto out; goto out;
} }
} }
//printf("read %d bytes\n", psize); //TODO: add wrapped decoders, by adding a parameter
//TODO: add wrapped decoders, and create pragma decoder that does not //struct labcomm_decoder *wrapped to all _internal_decode... functions
// expect a version packet //incl internal_decode_one()
//and let the public function ...decode(d) call
//_internal_decode(d,d)
struct labcomm_reader *pr = labcomm_bytearray_reader_new( struct labcomm_reader *pr = labcomm_bytearray_reader_new(
d->reader->memory, pragma_data, psize); d->reader->memory, pragma_data, psize);
struct labcomm_decoder *pd = labcomm_decoder_new( struct labcomm_decoder *pd = labcomm_decoder_new(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment