diff options
| author | Keith Packard <keithp@keithp.com> | 2014-04-05 00:18:57 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-04-05 00:22:31 -0700 |
| commit | 0d367fc24bfd0377db6f3b00a888a18245616767 (patch) | |
| tree | f55c9890002dab3867aca0088e359ab389014528 /src/lpc | |
| parent | 8bd732ac9cb816630f46dd269448ff8422620df8 (diff) | |
altos: Report battery voltage instead of S at startup
This works on everything with a beeper except TeleMetrum v1.0 which
just doesn't have enough flash space for the code.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc')
| -rw-r--r-- | src/lpc/ao_arch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lpc/ao_arch.h b/src/lpc/ao_arch.h index 9dcfadc0..dd0debd4 100644 --- a/src/lpc/ao_arch.h +++ b/src/lpc/ao_arch.h @@ -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_ */ |
