From e7d0af6b6b5f2caa8b04dfb18fd2713bb80b2f72 Mon Sep 17 00:00:00 2001 From: Manuel Pitz Date: Wed, 26 Sep 2018 23:31:14 +0200 Subject: [PATCH] raw: fix raw headers when using standard raw formats --- include/villas/formats/raw.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/villas/formats/raw.h b/include/villas/formats/raw.h index fff6cc1eb..f7f7adc55 100644 --- a/include/villas/formats/raw.h +++ b/include/villas/formats/raw.h @@ -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. */