Put an annoying message in debug mode only.
This commit is contained in:
parent
17dda85c71
commit
ba5dbb05d5
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;
|
||||||
WARN("%s", "Sorry, serial auto-probing have been disabled at compile time.");
|
DBG("%s", "Serial auto-probing have been disabled at compile time. Skipping autoprobe.");
|
||||||
return false;
|
return false;
|
||||||
#else /* SERIAL_AUTOPROBE_ENABLED */
|
#else /* SERIAL_AUTOPROBE_ENABLED */
|
||||||
*pszDeviceFound = 0;
|
*pszDeviceFound = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue