Typo.
[bertos.git] / drv / kdebug.c
index 502711500c79f48cc36498df06a35b3e6cfa0a2b..bd21cbbbf7700bf57b5226863cd33815f493c7c7 100755 (executable)
@@ -1,4 +1,4 @@
-/*!
+/**
  * \file
  * <!--
  * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
 
 /*#*
  *#* $Log$
+ *#* Revision 1.28  2006/07/19 12:56:25  bernie
+ *#* Convert to new Doxygen style.
+ *#*
+ *#* Revision 1.27  2006/06/01 12:32:06  marco
+ *#* Updated include reference.
+ *#*
+ *#* Revision 1.26  2006/04/27 05:40:27  bernie
+ *#* Break on assertion failures.
+ *#*
  *#* Revision 1.25  2005/06/27 21:26:24  bernie
  *#* Misc PGM fixes.
  *#*
@@ -41,7 +50,7 @@
 #include <cfg/cpu.h>
 #include <cfg/macros.h> /* for BV() */
 #include <appconfig.h>
-#include <hw.h>
+#include <hw_cpu.h>     /* for CLOCK_FREQ */
 
 #include <mware/formatwr.h> /* for _formatted_write() */
 
@@ -234,7 +243,7 @@ void kdbg_init(void)
 }
 
 
-/*!
+/**
  * Output one character to the debug console
  */
 static void __kputchar(char c, UNUSED_ARG(void *, unused))
@@ -307,7 +316,7 @@ void PGM_FUNC(kputs)(const char * PGM_ATTR str)
 }
 
 
-/*!
+/**
  * Cheap function to print small integers without using printf().
  */
 int kputnum(int num)
@@ -347,6 +356,7 @@ int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, i
        PGM_FUNC(kputs)(PGM_STR("Assertion failed: "));
        PGM_FUNC(kputs)(cond);
        kputchar('\n');
+       BREAKPOINT;
        return 1;
 }
 
@@ -419,7 +429,7 @@ int PGM_FUNC(__check_wall)(long *wall, int size, const char * PGM_ATTR name, con
 
 #if CONFIG_PRINTF
 
-/*!
+/**
  * Dump binary data in hex
  */
 void kdump(const void *_buf, size_t len)