diff options
author | Keith Packard <keithp@keithp.com> | 2018-05-28 19:19:43 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-05-28 19:19:43 -0700 |
commit | 484ffebc54048bbe276e0e2c0e2ab52c6a1761c1 (patch) | |
tree | 2e2c656a6b8ec1618d0a4566fe75fe1afea03f95 | |
parent | 16971e550d1018fb6acf3fee3c56098f5ba9921e (diff) |
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 <keithp@keithp.com>
-rw-r--r-- | src/telelco-v2.0/ao_pins.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |