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: DS130x_I2CApp MCP41xxxApp FM24Vxx_I2CApp MCP320xApp ... more
Revision 2:12cc94a627cf, committed 2010-11-22
- Comitter:
- Yann
- Date:
- Mon Nov 22 11:36:57 2010 +0000
- Parent:
- 1:fbb7a9674868
- Child:
- 3:be0c7a9bd686
- Commit message:
- V0.0.3
Changed in this revision
| Debug.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Debug.h Mon Nov 22 08:50:04 2010 +0000
+++ b/Debug.h Mon Nov 22 11:36:57 2010 +0000
@@ -54,8 +54,8 @@
* }
* @endcode
*/
-#undef __DEBUG //<!To deactivate debug message
-//#define __DEBUG //<!To activate debug message
+//#undef __DEBUG //<!To deactivate debug message
+#define __DEBUG //<!To activate debug message
// Undefined DEBUG symbols to be sure to use mines
#undef DEBUG_ENTER
@@ -64,7 +64,7 @@
#ifdef __DEBUG
-/** This class implements debug functionalities based on USB console interface. V0.0.0.2
+/** This class implements debug functionalities based on USB console interface. V0.0.0.3
*
* Note that this class is based on Helper pattern
*/
@@ -98,7 +98,7 @@
*
* Note that \ for multiline macro is not supported yet
*/
-#define DEBUG_ERRPOR(...) do { DebugHelper::Debug("?? "); DebugHelper::Debug(__VA_ARGS__); DebugHelper::Debug("\r\n"); } while(false);
+#define DEBUG_ERROR(...) do { DebugHelper::Debug("?? "); DebugHelper::Debug(__VA_ARGS__); DebugHelper::Debug("\r\n"); } while(false);
/** Used to log a warning message (!! )
*
* Note that \ for multiline macro is not supported yet
@@ -124,9 +124,9 @@
/** Undefine DEBUG macro, used when __DEBUG is undefined
*/
#define DEBUG(...)
-/** Undefine DEBUG_ERRPOR macro, used when __DEBUG is undefined
+/** Undefine DEBUG_ERROR macro, used when __DEBUG is undefined
*/
-#define DEBUG_ERRPOR(...)
+#define DEBUG_ERROR(...)
/** Undefine DEBUG_WARNING macro, used when __DEBUG is undefined
*/
#define DEBUG_WARNING(...)