Fixed debug printf warnings in BACnet/SC modules. (#963)
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#define DEBUG_BSC_EVENT 0
|
#define DEBUG_BSC_EVENT 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_BSC_EVENT == 1
|
#if DEBUG_BSC_EVENT == 1
|
||||||
#define DEBUG_PRINTF printf
|
#define DEBUG_PRINTF printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#define DEBUG_WEBSOCKET_CLIENT 0
|
#define DEBUG_WEBSOCKET_CLIENT 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_WEBSOCKET_CLIENT == 1
|
#if DEBUG_WEBSOCKET_CLIENT == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#define DEBUG_WEBSOCKET_SERVER 0
|
#define DEBUG_WEBSOCKET_SERVER 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_WEBSOCKET_SERVER == 1
|
#if DEBUG_WEBSOCKET_SERVER == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
#define DEBUG_BSC_EVENT 0
|
#define DEBUG_BSC_EVENT 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_BSC_EVENT == 1
|
#if DEBUG_BSC_EVENT == 1
|
||||||
#define DEBUG_PRINTF printf
|
#define DEBUG_PRINTF printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#define DEBUG_WEBSOCKET_CLIENT 0
|
#define DEBUG_WEBSOCKET_CLIENT 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_WEBSOCKET_CLIENT == 1
|
#if DEBUG_WEBSOCKET_CLIENT == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#define DEBUG_WEBSOCKET_SERVER 0
|
#define DEBUG_WEBSOCKET_SERVER 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_WEBSOCKET_SERVER == 1
|
#if DEBUG_WEBSOCKET_SERVER == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
#define DEBUG_BSC_EVENT 0
|
#define DEBUG_BSC_EVENT 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_BSC_EVENT == 1
|
#if DEBUG_BSC_EVENT == 1
|
||||||
#define DEBUG_PRINTF printf
|
#define DEBUG_PRINTF printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
#define DEBUG_WEBSOCKET_CLIENT 0
|
#define DEBUG_WEBSOCKET_CLIENT 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_WEBSOCKET_CLIENT == 1
|
#if DEBUG_WEBSOCKET_CLIENT == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
#define DEBUG_WEBSOCKET_SERVER 0
|
#define DEBUG_WEBSOCKET_SERVER 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_WEBSOCKET_SERVER == 1
|
#if DEBUG_WEBSOCKET_SERVER == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#define PRINTF debug_printf_stderr
|
#define PRINTF debug_printf_stderr
|
||||||
#define DEBUG_BSC_DATALINK 0
|
#define DEBUG_BSC_DATALINK 0
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_BSC_DATALINK == 1
|
#if DEBUG_BSC_DATALINK == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#define DEBUG_BSC_HUB_CONNECTOR 0
|
#define DEBUG_BSC_HUB_CONNECTOR 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_BSC_HUB_CONNECTOR == 1
|
#if DEBUG_BSC_HUB_CONNECTOR == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#define DEBUG_BSC_HUB_FUNCTION 0
|
#define DEBUG_BSC_HUB_FUNCTION 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_BSC_HUB_FUNCTION == 1
|
#if DEBUG_BSC_HUB_FUNCTION == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#define DEBUG_BSC_NODE_SWITCH 0
|
#define DEBUG_BSC_NODE_SWITCH 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_BSC_NODE_SWITCH == 1
|
#if DEBUG_BSC_NODE_SWITCH == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#define DEBUG_BSC_NODE 0
|
#define DEBUG_BSC_NODE 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_BSC_NODE == 1
|
#if DEBUG_BSC_NODE == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#define DEBUG_BSC_SOCKET 0
|
#define DEBUG_BSC_SOCKET 0
|
||||||
|
|
||||||
|
#undef DEBUG_PRINTF
|
||||||
#if DEBUG_BSC_SOCKET == 1
|
#if DEBUG_BSC_SOCKET == 1
|
||||||
#define DEBUG_PRINTF debug_printf
|
#define DEBUG_PRINTF debug_printf
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user