X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fkdebug.c;h=37192dd5b58e5eb57df1a163186654b86cd9ea4c;hb=a2fc2366ad564f11e705703ed1f42b7dc499a47c;hp=c461b7281cbf2b496ef374119748fbdd082318d4;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/kdebug.c b/bertos/drv/kdebug.c index c461b728..37192dd5 100644 --- a/bertos/drv/kdebug.c +++ b/bertos/drv/kdebug.c @@ -38,17 +38,14 @@ * \author Stefano Fedrigo */ -#include -#include -#include - +#include "cfg/cfg_debug.h" #include /* for BV() */ #include +#include -#include -#warning what about these? -//#include /* for CLOCK_FREQ */ -//#include /* Required for bus macros overrides */ +#include +#include +#include #include /* for _formatted_write() */ #include @@ -193,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: "));