summaryrefslogtreecommitdiff
path: root/src/stm/ao_arch.h
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2018-08-05 11:24:13 +0800
committerBdale Garbee <bdale@gag.com>2018-08-05 11:24:13 +0800
commita3b4f0d33e9d13fb5294397304ec0eb44ecaf1fc (patch)
tree69c563070ea7ca4a127f2ac925f18a36acb888bb /src/stm/ao_arch.h
parent67da03d1382228a95d0414294703371cf32e666e (diff)
parent3a2a5a05bb6372d9003905cee7afdfcd6d38ae7e (diff)
Merge branch 'branch-1.8' into debian
Diffstat (limited to 'src/stm/ao_arch.h')
-rw-r--r--src/stm/ao_arch.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h
index 5f033b66..679dba44 100644
--- a/src/stm/ao_arch.h
+++ b/src/stm/ao_arch.h
@@ -30,8 +30,6 @@
#define AO_STACK_SIZE 512
#endif
-#define AO_LED_TYPE uint16_t
-
#ifndef AO_TICK_TYPE
#define AO_TICK_TYPE uint16_t
#define AO_TICK_SIGNED int16_t
@@ -153,6 +151,10 @@ ao_adc_init();
#define AO_BOOT_LOADER_BASE ((uint32_t *) 0x08000000)
#define HAS_BOOT_LOADER 1
+#ifndef AO_LED_TYPE
+#define AO_LED_TYPE uint16_t
+#endif
+
#endif /* _AO_ARCH_H_ */