projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformat.
[bertos.git]
/
bertos
/
cfg
/
debug.h
diff --git
a/bertos/cfg/debug.h
b/bertos/cfg/debug.h
index 6bd64e071ddd67b022a3e3541c53d99451a9a241..dde6af5e50f4dfb0df6047ec7fe3fa8422d5868d 100644
(file)
--- a/
bertos/cfg/debug.h
+++ b/
bertos/cfg/debug.h
@@
-46,6
+46,7
@@
#include <cfg/os.h>
#include <cfg/compiler.h>
#include <cfg/os.h>
#include <cfg/compiler.h>
+
/*
* Defaults for rarely used config stuff.
*/
/*
* Defaults for rarely used config stuff.
*/
@@
-71,7
+72,6
@@
#endif
#ifdef _DEBUG
#endif
#ifdef _DEBUG
-
// STLport specific: enable extra checks
#define __STL_DEBUG 1
// STLport specific: enable extra checks
#define __STL_DEBUG 1
@@
-118,7
+118,7
@@
*/
#define DB(x) x
*/
#define DB(x) x
- #include
<cfg/cfg_debug.h>
/* CONFIG_KDEBUG_ASSERT_NO_TEXT */
+ #include
"cfg/cfg_debug.h"
/* CONFIG_KDEBUG_ASSERT_NO_TEXT */
#include <cpu/attr.h> /* CPU_HARVARD */
/* These are implemented in drv/kdebug.c */
#include <cpu/attr.h> /* CPU_HARVARD */
/* These are implemented in drv/kdebug.c */
@@
-186,6
+186,7
@@
#define TRACEMSG(...) do {} while(0)
#endif
#define TRACEMSG(...) do {} while(0)
#endif
+
/**
* \name Walls to detect data corruption
* \{
/**
* \name Walls to detect data corruption
* \{
@@
-304,7
+305,7
@@
#define kprintf(fmt,...) do { (void)(fmt); } while(0)
#else
/* ...but GCC can. */
#define kprintf(fmt,...) do { (void)(fmt); } while(0)
#else
/* ...but GCC can. */
- INLINE void kprintf(UNUSED_ARG(const char *, fmt), ...) { /* nop */ }
+
INLINE void kprintf(UNUSED_ARG(const char *, fmt), ...) { /* nop */ }
#endif
#endif /* _DEBUG */
#endif
#endif /* _DEBUG */