commit | 517464e6ce16e67d1fb77fb7d250817a478142ee | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Thu Apr 23 10:34:07 2009 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Apr 23 10:34:07 2009 +0100 |
tree | 1f6e474f1bcfd038bf193d7cabc6550ec7b19709 | |
parent | 37f86d2cbf52c9ea09db49de12353ca273dff1fa [diff] |
Fix missing defines for big endian AVCRP header sizes
diff --git a/audio/control.c b/audio/control.c index bd6bf0a..e0451e7 100644 --- a/audio/control.c +++ b/audio/control.c
@@ -134,6 +134,7 @@ uint8_t ipid:1; uint16_t pid; } __attribute__ ((packed)); +#define AVCTP_HEADER_LENGTH 3 struct avrcp_header { uint8_t _hdr0:4; @@ -142,6 +143,7 @@ uint8_t subunit_id:3; uint8_t opcode; } __attribute__ ((packed)); +#define AVRCP_HEADER_LENGTH 3 #else #error "Unknown byte order"