mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-12 02:23:47 +00:00
Put an annoying message in debug mode only.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user