wow, another defect reported by @puff.
How come this even worked?!
This commit is contained in:
parent
4082e2a0e8
commit
3e9ff64c8d
|
@ -160,7 +160,7 @@ ICUDriver * getInputCaptureDriver(const char *msg, brain_pin_e hwPin) {
|
||||||
#if STM32_ICU_USE_TIM8
|
#if STM32_ICU_USE_TIM8
|
||||||
if (hwPin == GPIOC_6 ||
|
if (hwPin == GPIOC_6 ||
|
||||||
hwPin == GPIOC_7) {
|
hwPin == GPIOC_7) {
|
||||||
return &ICUD9;
|
return &ICUD8;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if STM32_ICU_USE_TIM9
|
#if STM32_ICU_USE_TIM9
|
||||||
|
|
Loading…
Reference in New Issue