summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-08-16 22:18:48 +0000
committer(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-08-16 22:18:48 +0000
commit6cb35282083026c9bd8fa311dd7fa4777922a39f (patch)
tree239257c205cc57f6f250bbd6abd9923e9870d6e0
parent2858e795a9f4055665c645c5025a313dbfae8e96 (diff)
use attribute(packed) for 14443B structures, where apropriate
git-svn-id: https://svn.openpcd.org:2342/trunk@110 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r--openpcd/firmware/include/librfid/rfid_layer2_iso14443b.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpcd/firmware/include/librfid/rfid_layer2_iso14443b.h b/openpcd/firmware/include/librfid/rfid_layer2_iso14443b.h
index 5d6d979..037c117 100644
--- a/openpcd/firmware/include/librfid/rfid_layer2_iso14443b.h
+++ b/openpcd/firmware/include/librfid/rfid_layer2_iso14443b.h
@@ -15,7 +15,7 @@ struct iso14443b_atqb {
adc:2,
fwi:4;
} protocol_info;
-};
+} __attribute__((packed));
struct iso14443b_attrib_hdr {
unsigned char one_d;
@@ -40,7 +40,7 @@ struct iso14443b_attrib_hdr {
unsigned char cid:4,
rfu:4;
} param4;
-};
+} __attribute__((packed));
struct iso14443b_handle {
unsigned int tcl_capable; /* do we support T=CL */
personal git repositories of Harald Welte. Your mileage may vary