mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-05-30 00:56:15 +00:00
Fix Issue 36. Thanks to Roger Brown.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user