diff options
author | Keith Packard <keithp@keithp.com> | 2019-04-21 18:19:59 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-04-21 18:19:59 -0700 |
commit | 6a29b84cffcd31b2a74dd14a18aa4790eb4f14f9 (patch) | |
tree | e7b479144a6c90b4a4f7a600ae63bcba29964f7a | |
parent | 83823e4ee901edb893db68e36deb2b92ffec3958 (diff) |
altos/telefireone-v2.0: Include MAX6691 data in ring
Define HAS_MAX6691 which tells the data code to pull the MAX6691 data
into the data ring for logging etc.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/telefireone-v2.0/ao_pins.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/telefireone-v2.0/ao_pins.h b/src/telefireone-v2.0/ao_pins.h index a77beb76..8025ace6 100644 --- a/src/telefireone-v2.0/ao_pins.h +++ b/src/telefireone-v2.0/ao_pins.h @@ -261,6 +261,7 @@ struct ao_adc { (1 << AO_PAD_ADC_BATT)) /* MAX6691 thermistor chip */ +#define HAS_MAX6691 1 #define AO_MAX6691_GPIO (&stm_gpiob) #define AO_MAX6691_PIN 3 #define AO_MAX6691_TIMER (&stm_tim2) @@ -268,5 +269,4 @@ struct ao_adc { #define AO_MAX6691_CH 2 #define AO_MAX6691_DMA STM_DMA_INDEX(7) - #endif /* _AO_PINS_H_ */ |