aboutsummaryrefslogtreecommitdiff
path: root/firmwares/wifishield/wifiHD/src/debug.h
diff options
context:
space:
mode:
authorMimmo La Fauci <mlafauci@metodo2.it>2013-03-22 13:42:12 +0100
committerMimmo La Fauci <mlafauci@metodo2.it>2013-03-22 13:42:12 +0100
commit41d49e97f0d93853659f37fe5e4d4e0a19c20b41 (patch)
tree8660bd33d50b68d237e35766e0da650a3b0dd164 /firmwares/wifishield/wifiHD/src/debug.h
parente43ed7d47d9b2c37ccff6dc75d6bfe4c8a55ac86 (diff)
Fix issue with multiple clients on WebServer
Diffstat (limited to 'firmwares/wifishield/wifiHD/src/debug.h')
-rw-r--r--firmwares/wifishield/wifiHD/src/debug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmwares/wifishield/wifiHD/src/debug.h b/firmwares/wifishield/wifiHD/src/debug.h
index e48da64..154b799 100644
--- a/firmwares/wifishield/wifiHD/src/debug.h
+++ b/firmwares/wifishield/wifiHD/src/debug.h
@@ -140,8 +140,13 @@ Y; \
#define WARN(msg, args...) IF_DEBUG(WARN,WARN_DEBUG(msg, ##args))
#define WARN_VER(msg, args...) IF_DEBUG_VER(WARN,WARN_DEBUG(msg, ##args))
#define WARN_POLL(msg, args...) IF_DEBUG_POLL(WARN,WARN_DEBUG(msg, ##args))
+#if 0 // disable to reduce the size of binary
#define INFO_INIT(msg, args...) IF_DEBUG(INIT,PRINT_DEBUG(msg, ##args))
#define INFO_INIT_VER(msg, args...) IF_DEBUG_VER(INIT,PRINT_DEBUG(msg, ##args))
+#else
+#define INFO_INIT(msg, args...)
+#define INFO_INIT_VER(msg, args...)
+#endif
#define INFO_TCP(msg, args...) IF_DEBUG(TCP,PRINT_DEBUG(msg, ##args))
#define INFO_TCP_VER(msg, args...) IF_DEBUG_VER(TCP,PRINT_DEBUG(msg, ##args))
#define INFO_TCP_DUMP(msg, args...) IF_DEBUG_DUMP(TCP,PRINT_DEBUG(msg, ##args))