From: Keith Packard Date: Mon, 4 Apr 2022 05:17:15 +0000 (-0700) Subject: easymotor-v3: Configure beeper X-Git-Tag: 1.9.12~1^2~17^2~18 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=4b15c98449da54bae8c4efbfddc7734aeaa43b04 easymotor-v3: Configure beeper Signed-off-by: Keith Packard --- 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