summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/system.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/firmware/system.c b/firmware/system.c
index 7f7593e..b176da4 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -21,6 +21,7 @@
#include <lcd.h>
#include "led.h"
+#include "system.h"
#define default_interrupt(name,number) \
extern __attribute__((weak,alias("UIE" #number))) void name (void); void UIE##number (void)
@@ -317,11 +318,11 @@ void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */
while (1)
{
- bool state = TRUE;
-
+ bool state = TRUE;
+
led (state);
- state = state?FALSE:TRUE;
-
+ state = state?FALSE:TRUE;
+
for (i = 0; i < 240000; ++i);
}
}