summaryrefslogtreecommitdiff
path: root/src/telemega-v2.0/ao_pins.h
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/telemega-v2.0/ao_pins.h
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/telemega-v2.0/ao_pins.h')
-rw-r--r--src/telemega-v2.0/ao_pins.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/telemega-v2.0/ao_pins.h b/src/telemega-v2.0/ao_pins.h
index 46207884..ba302c74 100644
--- a/src/telemega-v2.0/ao_pins.h
+++ b/src/telemega-v2.0/ao_pins.h
@@ -77,6 +77,10 @@
#define USE_STORAGE_CONFIG 0
#define HAS_USB 1
#define HAS_BEEP 1
+#define BEEPER_TIMER 3
+#define BEEPER_CHANNEL 1
+#define BEEPER_PORT (&stm_gpioc)
+#define BEEPER_PIN 6
#define HAS_BATTERY_REPORT 1
#define HAS_RADIO 1
#define HAS_TELEMETRY 1