From 4b15c98449da54bae8c4efbfddc7734aeaa43b04 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 3 Apr 2022 22:17:15 -0700 Subject: [PATCH] easymotor-v3: Configure beeper Signed-off-by: Keith Packard --- src/easymotor-v3/ao_pins.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/easymotor-v3/ao_pins.h b/src/easymotor-v3/ao_pins.h index d43b855a..400f5d31 100644 --- a/src/easymotor-v3/ao_pins.h +++ b/src/easymotor-v3/ao_pins.h @@ -65,8 +65,12 @@ #define HAS_BEEP 1 #define HAS_BATTERY_REPORT 1 #define HAS_PAD_REPORT 1 -#define BEEPER_CHANNEL 3 -#define BEEPER_TIMER 2 + +/* Beeper is on pio0_1 ct32b0_mat2 */ +#define BEEPER_PORT 0 +#define BEEPER_PIN 1 +#define BEEPER_TIMER 0 +#define BEEPER_OUTPUT 2 #define HAS_RADIO 0 #define HAS_TELEMETRY 0 -- 2.30.2