From e886ef4f48dd6e8ea5a5ffabe6bb7b8310375996 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Fri, 9 Apr 2010 23:38:05 +0000 Subject: [PATCH] nfc-poll: Warn user when hardware does not support polling. --- examples/nfc-poll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/nfc-poll.c b/examples/nfc-poll.c index 3dbb59b..ed1205c 100644 --- a/examples/nfc-poll.c +++ b/examples/nfc-poll.c @@ -113,6 +113,7 @@ int main(int argc, const char* argv[]) if(pnd->nc == NC_PN531) { // PN531 doesn't support hardware polling (InAutoPoll) + WARN("%s", "PN531 doesn't support hardware polling."); continue; } printf("PN53x will poll during %ld ms\n", btPollNr * szTargetTypes * btPeriod * 150);