X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fkdebug.c;h=37192dd5b58e5eb57df1a163186654b86cd9ea4c;hb=4e8d0f2f4b4e158963ac78bb7c1356621fb638c0;hp=63a93f503e30dc9221eff94bb29ac32240e1f589;hpb=11da44352fcd4d33b173c976db45293ac1a87cca;p=bertos.git diff --git a/bertos/drv/kdebug.c b/bertos/drv/kdebug.c index 63a93f50..37192dd5 100644 --- a/bertos/drv/kdebug.c +++ b/bertos/drv/kdebug.c @@ -38,10 +38,10 @@ * \author Stefano Fedrigo */ -#include - +#include "cfg/cfg_debug.h" #include /* for BV() */ #include +#include #include #include @@ -190,7 +190,7 @@ static void klocation(const char * PGM_ATTR file, int line) PGM_FUNC(kputs)(PGM_STR(": ")); } -int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line) +int PGM_FUNC(__bassert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, int line) { klocation(file, line); PGM_FUNC(kputs)(PGM_STR("Assertion failed: "));