X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fkdebug.c;h=ac90ff038d8f9955b3e26874f9cca4c10d663ce9;hb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;hp=3b2c18bd90671c6ffc76dfa73ca2d38c08dcaa4a;hpb=1f2750668268c947febadaaf4376a2ffa130432b;p=bertos.git diff --git a/bertos/drv/kdebug.c b/bertos/drv/kdebug.c index 3b2c18bd..ac90ff03 100644 --- a/bertos/drv/kdebug.c +++ b/bertos/drv/kdebug.c @@ -27,25 +27,25 @@ * 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 -#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: "));