projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Semplificato l'output dell'ASSERT
[bertos.git]
/
drv
/
kdebug.c
diff --git
a/drv/kdebug.c
b/drv/kdebug.c
index 943148b3d7013978b6ec865428b968c8426426b2..063df825415520e6fc83b916daed2aa5fe59a22e 100755
(executable)
--- a/
drv/kdebug.c
+++ b/
drv/kdebug.c
@@
-16,6
+16,10
@@
/*
* $Log$
/*
* $Log$
+ * Revision 1.8 2004/07/30 14:26:33 rasky
+ * Semplificato l'output dell'ASSERT
+ * Aggiunta ASSERT2 con stringa di help opzionalmente disattivabile
+ *
* Revision 1.7 2004/07/30 14:15:53 rasky
* Nuovo supporto unificato per detect della CPU
*
* Revision 1.7 2004/07/30 14:15:53 rasky
* Nuovo supporto unificato per detect della CPU
*
@@
-194,9
+198,9
@@
void PGM_FUNC(kputs)(const char * PGM_ATTR str)
int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char *file, int line)
{
PGM_FUNC(kputs)(file);
int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char *file, int line)
{
PGM_FUNC(kputs)(file);
- PGM_FUNC(kprintf)(PSTR(":%d: Assertion failed:
\"
"), line);
+ PGM_FUNC(kprintf)(PSTR(":%d: Assertion failed: "), line);
PGM_FUNC(kputs)(cond);
PGM_FUNC(kputs)(cond);
- PGM_FUNC(kputs)(PSTR("\
"\
n"));
+ PGM_FUNC(kputs)(PSTR("\n"));
return 1;
}
return 1;
}