modified for Doug Ansons ThermostatDemo: single change that turns off the debugging information by default.

Dependents:   df-2013-thermostat-handson df-2013-minihack-thermostat-complete df-2013-minihack-thermostat df-2013-thermostat-remotes

Fork of WebSocketClient by Doug Anson

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Thu Jun 06 05:53:13 2013 +0000
Parent:
7:4567996414a5
Child:
9:8ee61b912743
Commit message:
initial commit

Changed in this revision

Websocket.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Websocket.cpp	Fri Feb 08 12:33:04 2013 +0000
+++ b/Websocket.cpp	Thu Jun 06 05:53:13 2013 +0000
@@ -4,7 +4,7 @@
 #define MAX_TRY_READ 10
 
 //Debug is disabled by default
-#if 0
+#if 1
 #define DBG(x, ...) std::printf("[WebSocket : DBG]"x"\r\n", ##__VA_ARGS__); 
 #define WARN(x, ...) std::printf("[WebSocket : WARN]"x"\r\n", ##__VA_ARGS__); 
 #define ERR(x, ...) std::printf("[WebSocket : ERR]"x"\r\n", ##__VA_ARGS__);