summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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