diff options
author | jaseg <git@jaseg.net> | 2020-01-30 17:45:53 +0100 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2020-01-30 17:45:53 +0100 |
commit | a6f75b2ce5f4a6d7d625d1753b97c075fc069705 (patch) | |
tree | cb3a3a713bb30b199901abb6f9121d1c701bf1f2 /gm_platform/fw/global.h | |
parent | da3a2835935173173da8843ecc4800961856ca44 (diff) | |
download | master-thesis-a6f75b2ce5f4a6d7d625d1753b97c075fc069705.tar.gz master-thesis-a6f75b2ce5f4a6d7d625d1753b97c075fc069705.tar.bz2 master-thesis-a6f75b2ce5f4a6d7d625d1753b97c075fc069705.zip |
Finally fixed LED driving code
Diffstat (limited to 'gm_platform/fw/global.h')
-rw-r--r-- | gm_platform/fw/global.h | 9 |
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__*/ |