From 484ffebc54048bbe276e0e2c0e2ab52c6a1761c1 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 28 May 2018 19:19:43 -0700 Subject: [PATCH] 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 --- src/telelco-v2.0/ao_pins.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2