summaryrefslogtreecommitdiff
path: root/gm_platform/fw/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'gm_platform/fw/global.h')
-rw-r--r--gm_platform/fw/global.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gm_platform/fw/global.h b/gm_platform/fw/global.h
index 7d33ca6..9c454bc 100644
--- a/gm_platform/fw/global.h
+++ b/gm_platform/fw/global.h
@@ -49,4 +49,13 @@ extern volatile unsigned int sys_time_seconds;
#define UNUSED(var) ((void)var)
+union leds {
+ struct {
+ unsigned int pps, sd_card, usb, ocxo, error, _nc1, _nc2, _nc3;
+ };
+ unsigned int arr[8];
+};
+
+extern volatile union leds leds;
+
#endif/*__GLOBAL_H__*/