From: Keith Packard Date: Mon, 24 Aug 2020 00:13:42 +0000 (-0600) Subject: altos/easymotor-v2: Fix beeper config X-Git-Tag: 1.9.6~1^2~30 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=c1ed5c2249abb7bd1bc85091179d5d208e776da6 altos/easymotor-v2: Fix beeper config The beeper changed pins at some point during the design Signed-off-by: Keith Packard --- diff --git a/src/easymotor-v2/ao_pins.h b/src/easymotor-v2/ao_pins.h index 497df404..f8ef7e4d 100644 --- a/src/easymotor-v2/ao_pins.h +++ b/src/easymotor-v2/ao_pins.h @@ -67,11 +67,11 @@ #define AO_PA11_PA12_RMP 1 #define HAS_BEEP 1 #define HAS_BATTERY_REPORT 1 -#define BEEPER_CHANNEL 4 -#define BEEPER_TIMER 3 -#define BEEPER_PORT (&stm_gpiob) -#define BEEPER_PIN 1 -#define BEEPER_AFR STM_AFR_AF1 +#define BEEPER_CHANNEL 3 +#define BEEPER_TIMER 2 +#define BEEPER_PORT (&stm_gpioa) +#define BEEPER_PIN 2 +#define BEEPER_AFR STM_AFR_AF2 #define HAS_RADIO 0 #define HAS_TELEMETRY 0