mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-26 19:56:39 +00:00
Fix Issue 36. Thanks to Roger Brown.
This commit is contained in:
@@ -38,9 +38,6 @@
|
||||
|
||||
typedef uint8_t byte_t;
|
||||
|
||||
// Compiler directive, set struct alignment to 1 byte_t for compatibility
|
||||
#pragma pack(1)
|
||||
|
||||
typedef enum {
|
||||
CT_PN531 = 0x10,
|
||||
CT_PN532 = 0x20,
|
||||
@@ -104,6 +101,9 @@ struct dev_callbacks {
|
||||
void (*disconnect)(dev_info* pdi);
|
||||
};
|
||||
|
||||
// Compiler directive, set struct alignment to 1 byte_t for compatibility
|
||||
#pragma pack(1)
|
||||
|
||||
/**
|
||||
* @enum dev_config_option
|
||||
* @brief NFC device option
|
||||
|
||||
Reference in New Issue
Block a user