mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-12 01:26:19 +00:00
Hardware abstraction layer for libnfc:
Suppress any PN53x references in nfc.c Improve nfc_driver_t struct to embedded HAL API Merge macros from nfc-messages.h into nfc-internal.h Remove useless files: nfc-messages.h, buses.h and chips.h Implement HAL for ARYGON driver Move send/receive callbacks from nfc_driver_t to internal chip io callbacks (since there are dedicated to pn53x framing)
This commit is contained in:
@@ -36,11 +36,10 @@ Thanks to d18c7db and Okko for example code
|
||||
#include <usb.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "../drivers.h"
|
||||
#include "../chips/pn53x.h"
|
||||
#include "libnfc/drivers.h"
|
||||
#include "libnfc/chips/pn53x.h"
|
||||
|
||||
#include <nfc/nfc.h>
|
||||
#include <nfc/nfc-messages.h>
|
||||
|
||||
#define BUFFER_LENGTH 256
|
||||
#define USB_TIMEOUT 0
|
||||
|
||||
Reference in New Issue
Block a user