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

F7 Cleanup

This commit is contained in:
Sami Korhonen 2016-08-24 21:00:24 +03:00
parent e0fddb3902
commit 6e51f2f9b2
10 changed files with 30 additions and 11 deletions

View file

@ -214,6 +214,7 @@ void IOToggle(IO_t io)
// high in the mask value rather than all pins. XORing ODR directly risks
// setting other pins incorrectly because it change all pins' state.
#if defined(USE_HAL_DRIVER)
(void)mask;
HAL_GPIO_TogglePin(IO_GPIO(io),IO_Pin(io));
#elif defined(STM32F4)
if (IO_GPIO(io)->ODR & mask) {