Add simple screen blanker.
[bertos.git] / drv / kdebug.c
index 502711500c79f48cc36498df06a35b3e6cfa0a2b..729c9ec0b03958e92db242d1f0e7a50075a913f9 100755 (executable)
 
 /*#*
  *#* $Log$
+ *#* 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 +47,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() */
 
@@ -347,6 +353,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;
 }