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/telemini-v3.0/ao_pins.h | |
| 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/telemini-v3.0/ao_pins.h')
| -rw-r--r-- | src/telemini-v3.0/ao_pins.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/telemini-v3.0/ao_pins.h b/src/telemini-v3.0/ao_pins.h index 546d91e0..d91b1d21 100644 --- 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 Tim1 CH3 */ +/* Beeper is on Tim3 CH4 */ #define BEEPER_CHANNEL 4 -#define BEEPER_TIMER 2 +#define BEEPER_TIMER 3 #define BEEPER_PORT (&stm_gpioa) #define BEEPER_PIN 3 |
