altos/easymotor-v2: Fix beeper config
authorKeith Packard <keithp@keithp.com>
Mon, 24 Aug 2020 00:13:42 +0000 (18:13 -0600)
committerKeith Packard <keithp@keithp.com>
Thu, 22 Oct 2020 04:33:58 +0000 (21:33 -0700)
The beeper changed pins at some point during the design

Signed-off-by: Keith Packard <keithp@keithp.com>
src/easymotor-v2/ao_pins.h

index 497df40436cc4eb6c3d436be2ed6605591a267d2..f8ef7e4de3e78abfce77c73442637e359decff15 100644 (file)
 #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