projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Decrese value to 8bit limit.
[bertos.git]
/
bertos
/
cfg
/
debug.h
diff --git
a/bertos/cfg/debug.h
b/bertos/cfg/debug.h
index 2b85e5f3f28c538f0bf8a8f30db46c8b45274ea1..dde6af5e50f4dfb0df6047ec7fe3fa8422d5868d 100644
(file)
--- a/
bertos/cfg/debug.h
+++ b/
bertos/cfg/debug.h
@@
-40,8
+40,8
@@
* \author Bernardo Innocenti <bernie@develer.com>
*/
* \author Bernardo Innocenti <bernie@develer.com>
*/
-#ifndef
CFG
_DEBUG_H
-#define
CFG
_DEBUG_H
+#ifndef
BERTOS
_DEBUG_H
+#define
BERTOS
_DEBUG_H
#include <cfg/os.h>
#include <cfg/compiler.h>
#include <cfg/os.h>
#include <cfg/compiler.h>
@@
-72,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
@@
-119,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 */
@@
-187,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
* \{
@@
-305,9
+305,9
@@
#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 */
-#endif /*
CFG
_DEBUG_H */
+#endif /*
BERTOS
_DEBUG_H */