Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SmartRemote WifiFlexManager SmartRemote E7
Fork of HTTPServer by
Diff: HTTPRequestHandler.cpp
- Revision:
- 6:fe661fa9d18a
- Parent:
- 4:d065642c32cc
- Child:
- 7:cb7fec1265b5
--- a/HTTPRequestHandler.cpp Sat Jun 01 06:24:43 2013 +0000
+++ b/HTTPRequestHandler.cpp Sat Jun 01 16:49:17 2013 +0000
@@ -2,7 +2,9 @@
#include "mbed.h"
#include "HTTPRequestHandler.h"
-#if (1 && !defined(TARGET_LPC11U24))
+#define _DEBUG 0
+
+#if (_DEBUG && !defined(TARGET_LPC11U24))
#define INFO(x, ...) std::printf("[HTTPRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);
#define WARN(x, ...) std::printf("[HTTPRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);
#define ERR(x, ...) std::printf("[HTTPRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);
