Advertisement
Guest User

Untitled

a guest
Aug 27th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. typedef struct {
  2.  
  3. uint8_t startSymbol;
  4. uint8_t packetType;
  5. uint32_t deviceId;
  6. uint16_t packetCRC;
  7.  
  8. } PacketData __attribute__((packed));
  9.  
  10. typedef struct {
  11. int a;
  12. char c;
  13. } mystruct __attribute__((packed));
  14.  
  15. typedef struct __attribute__((packed)) {
  16. int a;
  17. char c;
  18. } mystruct;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement