Added use of nfc-messages.
This commit is contained in:
parent
f7c31885f5
commit
d593a8e4c9
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue