We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ada2a8 commit c7a3c76Copy full SHA for c7a3c76
src/gotek/board.c
@@ -130,13 +130,12 @@ void board_setup_rotary_exti(void)
130
exti_route_pc(11);
131
m |= m(10) | m(11);
132
}
133
- if (has_kc30_header) {
+ if (((has_kc30_header == 1) && (ff_cfg.motor_delay == MOTOR_ignore))
134
+ || (has_kc30_header == 2) /* No conflict with motor on PB12 */) {
135
/* KC30 rotary pins PA6, PA15. */
- if (ff_cfg.motor_delay == MOTOR_ignore) {
136
- exti_route_pa(6);
137
- exti_route_pa(15);
138
- m |= m(6) | m(15);
139
- }
+ exti_route_pa(6);
+ exti_route_pa(15);
+ m |= m(6) | m(15);
140
141
board_rotary_exti_mask = m;
142
exti->rtsr |= m;
0 commit comments