From: Keith Packard Date: Tue, 29 May 2018 02:19:43 +0000 (-0700) Subject: altos/telelco-v2.0: Set HAS_ADC_SINGLE to enable HSI timer X-Git-Tag: 1.8.6~1^2~37 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=484ffebc54048bbe276e0e2c0e2ab52c6a1761c1;hp=16971e550d1018fb6acf3fee3c56098f5ba9921e;p=fw%2Faltos altos/telelco-v2.0: Set HAS_ADC_SINGLE to enable HSI timer The ADC unit requires the HSI timer to run, so make sure it's enabled for this device. Signed-off-by: Keith Packard --- diff --git a/src/telelco-v2.0/ao_pins.h b/src/telelco-v2.0/ao_pins.h index 4311bac8..61a8676a 100644 --- a/src/telelco-v2.0/ao_pins.h +++ b/src/telelco-v2.0/ao_pins.h @@ -366,6 +366,7 @@ struct ao_adc { #define AO_ADC_DUMP(p) \ printf("batt: %5d\n", p.v_batt) +#define HAS_ADC_SINGLE 1 #define HAS_ADC_TEMP 0 #define HAS_BATTERY_REPORT 1