Fix Issue 36. Thanks to Roger Brown.
This commit is contained in:
parent
5a7c561d48
commit
cd43b758d4
1 changed files with 3 additions and 3 deletions
|
@ -38,9 +38,6 @@
|
||||||
|
|
||||||
typedef uint8_t byte_t;
|
typedef uint8_t byte_t;
|
||||||
|
|
||||||
// Compiler directive, set struct alignment to 1 byte_t for compatibility
|
|
||||||
#pragma pack(1)
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
CT_PN531 = 0x10,
|
CT_PN531 = 0x10,
|
||||||
CT_PN532 = 0x20,
|
CT_PN532 = 0x20,
|
||||||
|
@ -104,6 +101,9 @@ struct dev_callbacks {
|
||||||
void (*disconnect)(dev_info* pdi);
|
void (*disconnect)(dev_info* pdi);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Compiler directive, set struct alignment to 1 byte_t for compatibility
|
||||||
|
#pragma pack(1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @enum dev_config_option
|
* @enum dev_config_option
|
||||||
* @brief NFC device option
|
* @brief NFC device option
|
||||||
|
|
Loading…
Add table
Reference in a new issue