Ethernet+BLE prototype

Dependencies:   mbed EthernetInterface mbed-rtos

Revision:
2:23966fe302b4
Parent:
0:da21a9dd2303
Child:
3:d9445b9e7163
--- a/include/log.h	Thu Feb 20 11:47:42 2014 +0000
+++ b/include/log.h	Wed Mar 12 09:46:42 2014 +0000
@@ -1,10 +1,15 @@
 #ifndef __LOG_H__
 #define __LOG_H__
 
-#define DEBUG_LOG  debug_log
+
 #define INFO_LOG   printf
 #define ERROR_LOG  printf
 
-int debug_log(char* format, ...);
+
+#ifdef _DEBUG
+    #define DEBUG_LOG  printf
+#else
+    #define DEBUG_LOG(x, ...) 
+#endif
 
 #endif /* __LOG_H__ */
\ No newline at end of file