diff options
| author | Keith Packard <keithp@keithp.com> | 2014-01-15 12:40:26 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-01-15 12:40:26 -0800 |
| commit | c743eaa060080a7bd236466b93cff3abc96f405b (patch) | |
| tree | 4a9228aa94fe0549dc0f11f8cd222da68bdb9c71 /src/stm/ao_arch.h | |
| parent | cc06242e882cba462791962c199b7c89e79adc65 (diff) | |
altos: Report battery, apogee and main voltages over APRS
This makes APRS more usable when you mute the RF audio on the HT.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_arch.h')
| -rw-r--r-- | src/stm/ao_arch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h index 42fe727a..76fa9194 100644 --- a/src/stm/ao_arch.h +++ b/src/stm/ao_arch.h @@ -135,6 +135,9 @@ extern const uint32_t ao_radio_cal; void ao_adc_init(); +/* ADC maximum reported value */ +#define AO_ADC_MAX 4095 + #define AO_BOOT_APPLICATION_BASE ((uint32_t *) 0x08001000) #define AO_BOOT_LOADER_BASE ((uint32_t *) 0x0) #define HAS_BOOT_LOADER 1 |
