mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-14 19:43:47 +00:00
nfc-poll: Warn user when hardware does not support polling.
This commit is contained in:
@@ -113,6 +113,7 @@ int main(int argc, const char* argv[])
|
|||||||
|
|
||||||
if(pnd->nc == NC_PN531) {
|
if(pnd->nc == NC_PN531) {
|
||||||
// PN531 doesn't support hardware polling (InAutoPoll)
|
// PN531 doesn't support hardware polling (InAutoPoll)
|
||||||
|
WARN("%s", "PN531 doesn't support hardware polling.");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
printf("PN53x will poll during %ld ms\n", btPollNr * szTargetTypes * btPeriod * 150);
|
printf("PN53x will poll during %ld ms\n", btPollNr * szTargetTypes * btPeriod * 150);
|
||||||
|
|||||||
Reference in New Issue
Block a user