raise up loggin level when PCSC context is not found (e.g. under POSIX system, pcscd is not running)
This commit is contained in:
parent
590e3910de
commit
49ab6a7f31
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue