repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
working demo
[mTask.git]
/
int
/
interface.c
diff --git
a/int/interface.c
b/int/interface.c
index
9212720
..
510f5cb
100644
(file)
--- a/
int/interface.c
+++ b/
int/interface.c
@@
-81,9
+81,6
@@
void debug(char *fmt, ...)
write_byte((uint8_t)fmt[i]);
}
write_byte('\n');
write_byte((uint8_t)fmt[i]);
}
write_byte('\n');
-#ifdef DEBUG
-#endif
- (void)fmt;
}
void pdie(char *s)
}
void pdie(char *s)
@@
-93,5
+90,11
@@
void pdie(char *s)
void die(char *fmt, ...)
{
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;
}
(void)fmt;
}