projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add cleanall alias for codeblocks
[bertos.git]
/
bertos
/
drv
/
kdebug.c
diff --git
a/bertos/drv/kdebug.c
b/bertos/drv/kdebug.c
index 63a93f503e30dc9221eff94bb29ac32240e1f589..37192dd5b58e5eb57df1a163186654b86cd9ea4c 100644
(file)
--- a/
bertos/drv/kdebug.c
+++ b/
bertos/drv/kdebug.c
@@
-38,10
+38,10
@@
* \author Stefano Fedrigo <aleph@develer.com>
*/
* \author Stefano Fedrigo <aleph@develer.com>
*/
-#include <cfg/cfg_debug.h>
-
+#include "cfg/cfg_debug.h"
#include <cfg/macros.h> /* for BV() */
#include <cfg/debug.h>
#include <cfg/macros.h> /* for BV() */
#include <cfg/debug.h>
+#include <cfg/os.h>
#include <cpu/irq.h>
#include <cpu/attr.h>
#include <cpu/irq.h>
#include <cpu/attr.h>
@@
-190,7
+190,7
@@
static void klocation(const char * PGM_ATTR file, int line)
PGM_FUNC(kputs)(PGM_STR(": "));
}
PGM_FUNC(kputs)(PGM_STR(": "));
}
-int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line)
+int PGM_FUNC(__
b
assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line)
{
klocation(file, line);
PGM_FUNC(kputs)(PGM_STR("Assertion failed: "));
{
klocation(file, line);
PGM_FUNC(kputs)(PGM_STR("Assertion failed: "));