summaryrefslogtreecommitdiff
path: root/src/lpc/ao_arch.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-03-09 20:59:43 -0700
committerKeith Packard <keithp@keithp.com>2014-03-09 20:59:43 -0700
commit469bd376d84bf8d76faa3b726d96061d4d98b998 (patch)
tree5c0df40478a03fd6091d9fd6f2a7ded91439a873 /src/lpc/ao_arch.h
parent6a4a074d690fb34af49704ac3cc4826eaf06dd9d (diff)
altos: Fix LPC LED driver
Was using wrong types Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_arch.h')
-rw-r--r--src/lpc/ao_arch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lpc/ao_arch.h b/src/lpc/ao_arch.h
index d04bf2c8..9dcfadc0 100644
--- a/src/lpc/ao_arch.h
+++ b/src/lpc/ao_arch.h
@@ -28,10 +28,10 @@
#define AO_STACK_SIZE 512
#endif
-#define AO_LED_TYPE uint16_t
-
#define AO_PORT_TYPE uint32_t
+#define AO_LED_TYPE AO_PORT_TYPE
+
#ifndef AO_TICK_TYPE
#define AO_TICK_TYPE uint16_t
#define AO_TICK_SIGNED int16_t