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/core/ao.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/core/ao.h')
-rw-r--r-- | src/core/ao.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h index 0b634a79..29ad2603 100644 --- a/src/core/ao.h +++ b/src/core/ao.h @@ -307,6 +307,17 @@ ao_altitude_to_pa(alt_t alt); #include <ao_serial.h> #endif +/* + * ao_convert_volt.c + * + * Convert ADC readings to decivolts + */ + +int16_t +ao_battery_decivolt(int16_t adc); + +int16_t +ao_ignite_decivolt(int16_t adc); /* * ao_spi_slave.c |