Changes made for RPC

Revision:
16:cc3f5c53d0d5
Parent:
9:c2a1462b9b71
Child:
17:c690fb2de477
--- 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");