projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
539598c
)
altos: TeleMini beeper is on Tim2 CH4, not Tim3 CH4
author
Keith Packard
<keithp@keithp.com>
Thu, 23 Jan 2020 22:34:14 +0000
(14:34 -0800)
committer
Keith Packard
<keithp@keithp.com>
Thu, 23 Jan 2020 22:34:14 +0000
(14:34 -0800)
This makes the beeper work.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/telemini-v3.0/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/telemini-v3.0/ao_pins.h
b/src/telemini-v3.0/ao_pins.h
index d91b1d21fcf8d04374fc4efe3029b3a72f134c20..ae8534b9c3fbaf56ef3545f42dcaf6296273da3d 100644
(file)
--- a/
src/telemini-v3.0/ao_pins.h
+++ b/
src/telemini-v3.0/ao_pins.h
@@
-74,9
+74,9
@@
#define AO_RECOVERY_VALUE 0
#define AO_RECOVERY_MODE AO_EXTI_MODE_PULL_UP
-/* Beeper is on Tim
3
CH4 */
+/* Beeper is on Tim
2
CH4 */
#define BEEPER_CHANNEL 4
-#define BEEPER_TIMER
3
+#define BEEPER_TIMER
2
#define BEEPER_PORT (&stm_gpioa)
#define BEEPER_PIN 3