X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fkdebug.c;h=37192dd5b58e5eb57df1a163186654b86cd9ea4c;hb=4e8d0f2f4b4e158963ac78bb7c1356621fb638c0;hp=3b2c18bd90671c6ffc76dfa73ca2d38c08dcaa4a;hpb=1f2750668268c947febadaaf4376a2ffa130432b;p=bertos.git diff --git a/bertos/drv/kdebug.c b/bertos/drv/kdebug.c index 3b2c18bd..37192dd5 100644 --- a/bertos/drv/kdebug.c +++ b/bertos/drv/kdebug.c @@ -38,14 +38,14 @@ * \author Stefano Fedrigo */ -#include -#include -#include - +#include "cfg/cfg_debug.h" #include /* for BV() */ #include +#include -#include +#include +#include +#include #include /* for _formatted_write() */ #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: "));