projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2e585a9
)
easymotor-v3: Configure beeper
author
Keith Packard
<keithp@keithp.com>
Mon, 4 Apr 2022 05:17:15 +0000
(22:17 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/easymotor-v3/ao_pins.h
b/src/easymotor-v3/ao_pins.h
index d43b855a195b23b6cc7ee5c02d3a5ecce63790ae..400f5d31f7b5be6e0a8cec822a04e071f46a52fe 100644
(file)
--- 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