X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fkdebug.c;h=37ae5ff98630591bdf64f7971a9c487a2efbc68b;hb=6eb6ebb5ae5953a27977f0ef66a36344462b949a;hp=219aadffd43792717c73b97965d14abc8f532a18;hpb=0fbabc305e65dfc5538cfcae10c04f6be9daf657;p=bertos.git diff --git a/bertos/drv/kdebug.c b/bertos/drv/kdebug.c index 219aadff..37ae5ff9 100644 --- a/bertos/drv/kdebug.c +++ b/bertos/drv/kdebug.c @@ -27,18 +27,18 @@ * the GNU General Public License. * * Copyright 2003, 2004, 2005, 2006, 2007 Develer S.r.l. (http://www.develer.com/) - * Copyright 2000, 2001, 2002 Bernardo Innocenti + * Copyright 2000, 2001, 2002 Bernie Innocenti * * --> * * \brief General pourpose debug support for embedded systems (implementation). * * \version $Id$ - * \author Bernardo Innocenti + * \author Bernie Innocenti * \author Stefano Fedrigo */ -#include +#include "cfg/cfg_debug.h" #include /* for BV() */ #include #include @@ -48,7 +48,7 @@ #include #include /* for _formatted_write() */ -#include +#include #ifdef _DEBUG @@ -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: "));