mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-28 20:56:40 +00:00
Flag some problems in the examples.
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#include <nfc/nfc.h>
|
||||
#include <nfc/nfc-messages.h>
|
||||
#include "nfc-utils.h"
|
||||
// FIXME: Remove me
|
||||
#include "chips/pn53x.h"
|
||||
|
||||
#define MAX_FRAME_LEN 264
|
||||
@@ -81,6 +82,7 @@ bool sam_connection(nfc_device_t* pnd, int mode)
|
||||
break;
|
||||
}
|
||||
|
||||
// FIXME: Direct call
|
||||
if (!pn53x_transceive(pnd,pncmd_sam_config,szCmd,abtRx,&szRxLen)) {
|
||||
ERR("%s %d", "Unable to execute SAMConfiguration command with mode byte:", mode);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user