1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Fix style

This commit is contained in:
Martin Luessi 2020-12-09 05:43:51 -08:00
parent 74df0ca92c
commit b46971f1f0

View file

@ -132,8 +132,7 @@ FAST_CODE static void pwmDshotSetDirectionInput(
LL_GPIO_SetPinMode(IO_GPIO(motor->io), IO_Pin(motor->io), LL_GPIO_MODE_ALTERNATE);
if (IO_Pin(motor->io) & 0xFF) {
LL_GPIO_SetAFPin_0_7(IO_GPIO(motor->io), IO_Pin(motor->io), timerHardware->alternateFunction);
}
else {
} else {
LL_GPIO_SetAFPin_8_15(IO_GPIO(motor->io), IO_Pin(motor->io), timerHardware->alternateFunction);
}
#endif