nfc-poll: Warn user when hardware does not support polling.

This commit is contained in:
Romuald Conty 2010-04-09 23:38:05 +00:00
parent c9370e6fac
commit e886ef4f48

View file

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