set approrpiate reporting level for error messages
This commit is contained in:
parent
b223ec5780
commit
112b4c45e4
1 changed files with 2 additions and 2 deletions
|
@ -104,12 +104,12 @@ acr122_pick_device (void)
|
||||||
size_t szN;
|
size_t szN;
|
||||||
|
|
||||||
if (!acr122_list_devices (pndd, 1, &szN)) {
|
if (!acr122_list_devices (pndd, 1, &szN)) {
|
||||||
ERR("%s", "acr122_list_devices failed");
|
DBG("%s", "acr122_list_devices failed");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (szN == 0) {
|
if (szN == 0) {
|
||||||
ERR("%s", "No device found");
|
DBG("%s", "No device found");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue