easymotor-v3: Configure beeper
authorKeith Packard <keithp@keithp.com>
Mon, 4 Apr 2022 05:17:15 +0000 (22:17 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 4 Apr 2022 21:41:15 +0000 (14:41 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/easymotor-v3/ao_pins.h

index d43b855a195b23b6cc7ee5c02d3a5ecce63790ae..400f5d31f7b5be6e0a8cec822a04e071f46a52fe 100644 (file)
 #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