mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
protobuf: fix invalid sample flags
This commit is contained in:
parent
040c8e69bb
commit
4ce10cbdf5
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ int protobuf_sscan(struct io *io, const char *buf, size_t len, size_t *rbytes, s
|
|||
struct sample *smp = smps[i];
|
||||
Villas__Node__Sample *pb_smp = pb_msg->samples[i];
|
||||
|
||||
smp->flags = 0;
|
||||
smp->signals = io->signals;
|
||||
|
||||
if (pb_smp->type != VILLAS__NODE__SAMPLE__TYPE__DATA) {
|
||||
|
|
Loading…
Add table
Reference in a new issue