Prevent from annoying message when probing nfc devices.
This commit is contained in:
parent
e223b93d91
commit
c203ce837c
@ -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 */
|
||||
#ifndef SERIAL_AUTOPROBE_ENABLED
|
||||
*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;
|
||||
#else /* SERIAL_AUTOPROBE_ENABLED */
|
||||
*pszDeviceFound = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user