projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93b73d
)
altos/telelco-v3.0: Battery voltage is on PA2
author
Keith Packard
<keithp@keithp.com>
Thu, 11 Jan 2024 23:17:32 +0000
(16:17 -0700)
committer
Keith Packard
<keithp@keithp.com>
Thu, 1 Feb 2024 01:50:19 +0000
(17:50 -0800)
Which is ADC input #2
Signed-off-by: Keith Packard <keithp@keithp.com>
src/telelco-v3.0/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/telelco-v3.0/ao_pins.h
b/src/telelco-v3.0/ao_pins.h
index 73850973b88de71de047d089ca9d47724209d02a..faf2ab2dd1187dab12d8ad9178afc9ae7667039d 100644
(file)
--- a/
src/telelco-v3.0/ao_pins.h
+++ b/
src/telelco-v3.0/ao_pins.h
@@
-271,7
+271,7
@@
struct ao_adc {
#define HAS_ADC_TEMP 0
#define HAS_BATTERY_REPORT 1
-#define AO_ADC_V_BATT
0
+#define AO_ADC_V_BATT
2
#define AO_ADC_V_BATT_PORT (&stm_gpioa)
#define AO_ADC_V_BATT_PIN 2