remove traces
[mTask.git] / int / interface.c
index 9212720..0916ee5 100644 (file)
@@ -75,14 +75,12 @@ void setup(void)
 
 void debug(char *fmt, ...)
 {
-       unsigned int i;
-       write_byte('m');
-       for(i = 0; i<strlen(fmt); i++){
-               write_byte((uint8_t)fmt[i]);
-       }
-       write_byte('\n');
-#ifdef DEBUG
-#endif
+       //unsigned int i;
+       //write_byte('m');
+       //for(i = 0; i<strlen(fmt); i++){
+       //      write_byte((uint8_t)fmt[i]);
+       //}
+       //write_byte('\n');
        (void)fmt;
 }
 
@@ -93,5 +91,11 @@ void pdie(char *s)
 
 void die(char *fmt, ...)
 {
+       palWriteLine(LINE_LED1, PAL_HIGH);
+       palWriteLine(LINE_LED2, PAL_HIGH);
+       palWriteLine(LINE_LED3, PAL_HIGH);
+       while(1){
+               delay(100);
+       }
        (void)fmt;
 }