diff options
| author | Keith Packard <keithp@keithp.com> | 2018-10-13 13:42:34 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2018-10-19 08:38:32 -0700 |
| commit | dbc52686c6d9808275c35e0c9c987cbbd9f7859d (patch) | |
| tree | 0255c33591abdc770c39e658478b6d0a9f54e4b9 /src/easymega-v2.0 | |
| parent | 80affca535c5c43a5d9963dfafc74f9675c9b155 (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/easymega-v2.0')
| -rw-r--r-- | src/easymega-v2.0/ao_pins.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/easymega-v2.0/ao_pins.h b/src/easymega-v2.0/ao_pins.h index aff06cdd..508c043c 100644 --- a/src/easymega-v2.0/ao_pins.h +++ b/src/easymega-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 2 +#define BEEPER_CHANNEL 3 +#define BEEPER_PORT (&stm_gpioa) +#define BEEPER_PIN 2 #define HAS_BATTERY_REPORT 1 #define HAS_RADIO 0 #define HAS_TELEMETRY 0 |
