Improve handling of arming, providing LED blink codes if the arming fails.

Also, implement a software watchdog to make sure that the main real-time
modules are actually being run. Provide a panic facility, also giving blink
codes to indicate the panic reason.
This commit is contained in:
2012-09-22 12:08:07 +00:00
parent e36ec4d5b1
commit 999e129e2c
15 changed files with 336 additions and 22 deletions

2
led.h
View File

@@ -5,7 +5,9 @@
typedef unsigned int led_pattern;
extern led_pattern led_pattern_active[];
extern led_pattern led_pattern_unknown[];
void led_init(void);
void led_set(bool on);
void led_update(void);
void led_set_pattern(led_pattern *pattern);