fixed with new libs

Dependents:   SmartRemote WifiFlexManager SmartRemote E7

Fork of HTTPServer by Ollie Milton

Revision:
16:cc3f5c53d0d5
Parent:
9:c2a1462b9b71
diff -r 909dcf44c3db -r cc3f5c53d0d5 Handler/RpcHandler.cpp
--- a/Handler/RpcHandler.cpp	Sat Aug 17 15:34:07 2013 +0000
+++ b/Handler/RpcHandler.cpp	Sat Aug 17 16:17:55 2013 +0000
@@ -4,17 +4,8 @@
 #include "mbed_rpc.h"
 
 
-#define _DEBUG 0
-
-#if (_DEBUG && !defined(TARGET_LPC11U24))
-#define INFO(x, ...) std::printf("[HTTPRpcHandler : DBG]"x"\r\n", ##__VA_ARGS__);
-#define WARN(x, ...) std::printf("[HTTPRpcHandler : DBG]"x"\r\n", ##__VA_ARGS__);
-#define ERR(x, ...) std::printf("[HTTPRpcHandler : DBG]"x"\r\n", ##__VA_ARGS__);
-#else
-#define INFO(x, ...)
-#define WARN(x, ...)
-#define ERR(x, ...)
-#endif
+#define DEBUG 1
+#include "hl_debug.h"
 
 RPC rpc("rpc");