summaryrefslogtreecommitdiffstats
path: root/src/dabOutput/edi/AFPacket.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-17 17:43:31 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-20 21:39:37 +0200
commit126ac41ec051df2439eb87a4730b5fe88b97020f (patch)
tree2143fb57eab626edfd09d629e6ae94cdd14b14bf /src/dabOutput/edi/AFPacket.h
parentceb01462fa3a9a3b82e3c0b8988d06406b2c7f72 (diff)
downloaddabmux-126ac41ec051df2439eb87a4730b5fe88b97020f.tar.gz
dabmux-126ac41ec051df2439eb87a4730b5fe88b97020f.tar.bz2
dabmux-126ac41ec051df2439eb87a4730b5fe88b97020f.zip
remove useless stuff
Diffstat (limited to 'src/dabOutput/edi/AFPacket.h')
-rw-r--r--src/dabOutput/edi/AFPacket.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/dabOutput/edi/AFPacket.h b/src/dabOutput/edi/AFPacket.h
index 0d41878..0826a35 100644
--- a/src/dabOutput/edi/AFPacket.h
+++ b/src/dabOutput/edi/AFPacket.h
@@ -32,22 +32,10 @@
#include <stdint.h>
#include "TagItems.h"
#include "TagPacket.h"
-#define PACKED __attribute__ ((packed))
#define EDI_AFPACKET_PROTOCOLTYPE_TAGITEMS ('T')
// ETSI TS 102 821, 6.1 AF packet structure
-struct AFHeader
-{
- uint16_t sync;
- uint32_t len;
- uint16_t seq;
- uint8_t ar_cf:1;
- uint8_t ar_maj:3;
- uint8_t ar_min:4;
- uint8_t pt;
-} PACKED;
-
class AFPacket
{
public:
@@ -58,7 +46,6 @@ class AFPacket
private:
static const bool have_crc = true;
- AFHeader header;
uint16_t seq; //counter that overflows at 0xFFFF
char protocol_type;