nfc-poll: Warn user when hardware does not support polling.
This commit is contained in:
parent
c9370e6fac
commit
e886ef4f48
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue