summaryrefslogtreecommitdiff
path: root/src/stm/ao_arch.h
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2018-08-05 11:21:37 +0800
committerBdale Garbee <bdale@gag.com>2018-08-05 11:21:37 +0800
commitd8627bb7b46fc991786835afa38cd720e9e75812 (patch)
treee14ae029a4ead29a4a7ccccb39af556e32413d36 /src/stm/ao_arch.h
parent59e23c27c2a85d7d748223e444b24d19937afe47 (diff)
parent8830fbc99565f753c0ae1f3d9f4b079860c2634a (diff)
Merge branch 'master' into branch-1.8
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_ */