added PACKED attribute for structures and reorganize include folder

This commit is contained in:
merlokk 2019-07-16 14:50:38 +03:00
commit 20d13d5509
18 changed files with 204 additions and 183 deletions

View file

@ -8,14 +8,16 @@
//-----------------------------------------------------------------------------
// main code for HF standalone mode Mifare /sniff/emulation by Craig Young
//-----------------------------------------------------------------------------
#include "hf_young.h"
#include "common.h"
typedef struct {
uint8_t uid[10];
uint8_t uidlen;
uint8_t atqa[2];
uint8_t sak;
} __attribute__((__packed__)) card_clone_t;
} PACKED card_clone_t;
void ModInfo(void) {