mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-21 09:16:35 +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) {
|
||||
// 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);
|
||||
|
||||
Reference in New Issue
Block a user