altos: Report battery voltage instead of S at startup
[fw/altos] / src / lpc / ao_arch.h
index d04bf2c8b06d210a59b39ce39653fdcf14df0304..dd0debd449925fab5da90df2fbe5d634adc67f7f 100644 (file)
 #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
@@ -143,4 +143,8 @@ ao_serial_init(void);
 #define AO_BOOT_LOADER_BASE            ((uint32_t *) 0x00000000)
 #define HAS_BOOT_LOADER                        1
 
+/* ADC definitions */
+
+#define AO_ADC_MAX     32767
+
 #endif /* _AO_ARCH_H_ */