Prevent from annoying message when probing nfc devices.
This commit is contained in:
parent
e223b93d91
commit
c203ce837c
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ pn532_uart_list_devices(nfc_device_desc_t pnddDevices[], size_t szDevices, size_
|
||||||
* have serious problem with other device on this bus */
|
* have serious problem with other device on this bus */
|
||||||
#ifndef SERIAL_AUTOPROBE_ENABLED
|
#ifndef SERIAL_AUTOPROBE_ENABLED
|
||||||
*pszDeviceFound = 0;
|
*pszDeviceFound = 0;
|
||||||
INFO("%s", "Sorry, serial auto-probing have been disabled at compile time.");
|
WARN("%s", "Sorry, serial auto-probing have been disabled at compile time.");
|
||||||
return false;
|
return false;
|
||||||
#else /* SERIAL_AUTOPROBE_ENABLED */
|
#else /* SERIAL_AUTOPROBE_ENABLED */
|
||||||
*pszDeviceFound = 0;
|
*pszDeviceFound = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue