Flag some problems in the examples.

This commit is contained in:
Romain Tartiere 2010-08-18 14:44:40 +00:00
parent c9f88e17a1
commit 0a09c8d8e7
2 changed files with 6 additions and 0 deletions

View file

@ -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;