mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-22 09:46:35 +00:00
raise up loggin level when PCSC context is not found (e.g. under POSIX system, pcscd is not running)
This commit is contained in:
@@ -150,7 +150,7 @@ acr122_probe (nfc_device_desc_t pnddDevices[], size_t szDevices, size_t * pszDev
|
||||
|
||||
// Test if context succeeded
|
||||
if (!(pscc = acr122_get_scardcontext ())) {
|
||||
log_put (LOG_CATEGORY, NFC_PRIORITY_TRACE, "%s", "PCSC context not found");
|
||||
log_put (LOG_CATEGORY, NFC_PRIORITY_WARN, "%s", "PCSC context not found (make sure PCSC daemon is running).");
|
||||
return false;
|
||||
}
|
||||
// Retrieve the string array of all available pcsc readers
|
||||
|
||||
Reference in New Issue
Block a user