altos: Don't define ao_ignite_decivolt without igniters
authorKeith Packard <keithp@keithp.com>
Wed, 21 May 2014 08:37:57 +0000 (01:37 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 21 May 2014 08:43:13 +0000 (01:43 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_convert_volt.c

index 7afc34bfab2bf45ebc9efa3b5a446eff9f82b92c..f697e74892048955ba8ae1bfc1122c272cc04b07 100644 (file)
@@ -30,7 +30,7 @@ ao_battery_decivolt(int16_t adc)
 }
 #endif
 
-#if HAS_APRS
+#if HAS_APRS && defined(AO_IGNITE_DIV_PLUS)
 int16_t
 ao_ignite_decivolt(int16_t adc)
 {