1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

raw: fix raw headers when using standard raw formats

This commit is contained in:
Manuel Pitz 2018-09-26 23:31:14 +02:00
parent c837b4bebc
commit e7d0af6b6b

View file

@ -39,8 +39,8 @@ struct sample;
enum raw_flags {
/** Treat the first three values as: sequenceno, seconds, nanoseconds */
RAW_FAKE_HEADER = (1 << 16) | SAMPLE_HAS_TS_ORIGIN | SAMPLE_HAS_SEQUENCE,
RAW_BIG_ENDIAN = (1 << 7), /**< Encode data in big-endian byte order */
RAW_FAKE_HEADER = (1 << 16),
RAW_BIG_ENDIAN = (1 << 17), /**< Encode data in big-endian byte order */
RAW_BITS_8 = (3 << 24), /**< Pack each value as a byte. */
RAW_BITS_16 = (4 << 24), /**< Pack each value as a word. */