easymotor-v3: Fix beeper config
authorKeith Packard <keithp@keithp.com>
Fri, 28 Oct 2022 02:25:02 +0000 (19:25 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 28 Oct 2022 02:26:54 +0000 (19:26 -0700)
the branch had different beeper config code than mainline.

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

index c54c7f0e3d581eebe5003e3258872acabd1c72ac..856c763946d1b6dcd7aedd15e0b1e2a661656e2b 100644 (file)
 #define HAS_PAD_REPORT         1
 
 /* Beeper is on pio0_1 ct32b0_mat2 */
-#define BEEPER_PORT            0
-#define BEEPER_PIN             1
-#define BEEPER_TIMER           0
-#define BEEPER_OUTPUT          2
+#define AO_LPC_BEEP_PORT       0
+#define AO_LPC_BEEP_PIN                1
+#define AO_LPC_BEEP_TIMER      0
+#define AO_LPC_BEEP_CHANNEL    2
 
 #define HAS_RADIO              0
 #define HAS_TELEMETRY          0