summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-01-15 12:40:26 -0800
committerKeith Packard <keithp@keithp.com>2014-01-15 12:40:26 -0800
commitc743eaa060080a7bd236466b93cff3abc96f405b (patch)
tree4a9228aa94fe0549dc0f11f8cd222da68bdb9c71 /src/core/ao.h
parentcc06242e882cba462791962c199b7c89e79adc65 (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.h11
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