projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Report battery voltage instead of S at startup
[fw/altos]
/
src
/
lpc
/
ao_arch.h
diff --git
a/src/lpc/ao_arch.h
b/src/lpc/ao_arch.h
index d04bf2c8b06d210a59b39ce39653fdcf14df0304..dd0debd449925fab5da90df2fbe5d634adc67f7f 100644
(file)
--- a/
src/lpc/ao_arch.h
+++ b/
src/lpc/ao_arch.h
@@
-28,10
+28,10
@@
#define AO_STACK_SIZE 512
#endif
#define AO_STACK_SIZE 512
#endif
-#define AO_LED_TYPE uint16_t
-
#define AO_PORT_TYPE uint32_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
#ifndef AO_TICK_TYPE
#define AO_TICK_TYPE uint16_t
#define AO_TICK_SIGNED int16_t
@@
-143,4
+143,8
@@
ao_serial_init(void);
#define AO_BOOT_LOADER_BASE ((uint32_t *) 0x00000000)
#define HAS_BOOT_LOADER 1
#define AO_BOOT_LOADER_BASE ((uint32_t *) 0x00000000)
#define HAS_BOOT_LOADER 1
+/* ADC definitions */
+
+#define AO_ADC_MAX 32767
+
#endif /* _AO_ARCH_H_ */
#endif /* _AO_ARCH_H_ */