Added use of nfc-messages.

This commit is contained in:
Emanuele Bertoldi 2010-06-16 09:48:26 +00:00
parent f7c31885f5
commit d593a8e4c9

View file

@ -4,6 +4,7 @@
#include <stdlib.h>
#include <nfc/nfc.h>
#include <nfc/nfc-messages.h>
int main(int argc, const char* argv[])
{
@ -18,7 +19,7 @@ int main(int argc, const char* argv[])
pnd = nfc_connect(NULL);
if (pnd == NULL) {
printf("Unable to connect to NFC device.");
ERR("%s", "Unable to connect to NFC device.");
return EXIT_FAILURE;
}