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.
Diff: Handler/FsHandler.cpp
- Revision:
- 13:aa5338a5e452
- Parent:
- 12:ba81cc117fb6
- Child:
- 16:cc3f5c53d0d5
diff -r ba81cc117fb6 -r aa5338a5e452 Handler/FsHandler.cpp
--- a/Handler/FsHandler.cpp Wed Jun 05 23:39:24 2013 +0000
+++ b/Handler/FsHandler.cpp Sat Jun 22 15:41:34 2013 +0000
@@ -1,19 +1,8 @@
/* FsHandler.cpp */
#include "mbed.h"
#include "FsHandler.h"
-
-
-#define _DEBUG 0
-
-#if (_DEBUG && !defined(TARGET_LPC11U24))
-#define INFO(x, ...) std::printf("[HTTPFsRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);
-#define WARN(x, ...) std::printf("[HTTPFsRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);
-#define ERR(x, ...) std::printf("[HTTPFsRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);
-#else
-#define INFO(x, ...)
-#define WARN(x, ...)
-#define ERR(x, ...)
-#endif
+#define DEBUG
+#include "debug.h"