From 6cb35282083026c9bd8fa311dd7fa4777922a39f Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Wed, 16 Aug 2006 22:18:48 +0000 Subject: use attribute(packed) for 14443B structures, where apropriate git-svn-id: https://svn.openpcd.org:2342/trunk@110 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/include/librfid/rfid_layer2_iso14443b.h | 4 ++-- 1 file 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 */ -- cgit v1.2.3