From: Keith Packard Date: Thu, 23 Jan 2020 22:34:14 +0000 (-0800) Subject: altos: TeleMini beeper is on Tim2 CH4, not Tim3 CH4 X-Git-Tag: altosdroid-1.9.1~5 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=ced64381edf2478cd080a340a0f88b3d98a1b13d altos: TeleMini beeper is on Tim2 CH4, not Tim3 CH4 This makes the beeper work. Signed-off-by: Keith Packard --- diff --git a/src/telemini-v3.0/ao_pins.h b/src/telemini-v3.0/ao_pins.h index d91b1d21..ae8534b9 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 Tim3 CH4 */ +/* Beeper is on Tim2 CH4 */ #define BEEPER_CHANNEL 4 -#define BEEPER_TIMER 3 +#define BEEPER_TIMER 2 #define BEEPER_PORT (&stm_gpioa) #define BEEPER_PIN 3