From ba5dbb05d5e23e14e1fe315df94e18aff9f1af14 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Thu, 25 Mar 2010 14:55:28 +0000 Subject: [PATCH] Put an annoying message in debug mode only. --- src/lib/drivers/pn532_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/drivers/pn532_uart.c b/src/lib/drivers/pn532_uart.c index d66cd26..4e1ccaa 100644 --- a/src/lib/drivers/pn532_uart.c +++ b/src/lib/drivers/pn532_uart.c @@ -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; - 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; #else /* SERIAL_AUTOPROBE_ENABLED */ *pszDeviceFound = 0;