summaryrefslogtreecommitdiff
path: root/src/telelcotwo-v0.1
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-10-13 13:42:34 -0700
committerKeith Packard <keithp@keithp.com>2018-10-19 08:38:32 -0700
commitdbc52686c6d9808275c35e0c9c987cbbd9f7859d (patch)
tree0255c33591abdc770c39e658478b6d0a9f54e4b9 /src/telelcotwo-v0.1
parent80affca535c5c43a5d9963dfafc74f9675c9b155 (diff)
altos/stm: Make beeper driver support all possible tim234 configs
And update all users to be explicit about the desired config. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telelcotwo-v0.1')
-rw-r--r--src/telelcotwo-v0.1/ao_pins.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/telelcotwo-v0.1/ao_pins.h b/src/telelcotwo-v0.1/ao_pins.h
index 1941e03d..3ef88c74 100644
--- a/src/telelcotwo-v0.1/ao_pins.h
+++ b/src/telelcotwo-v0.1/ao_pins.h
@@ -51,6 +51,9 @@
#define HAS_USB 1
#define HAS_BEEP 1
#define BEEPER_CHANNEL 4
+#define BEEPER_TIMER 3
+#define BEEPER_PORT (&stm_gpiob)
+#define BEEPER_PIN 1
#define HAS_RADIO 1
#define HAS_RADIO_RATE 1
#define HAS_TELEMETRY 0