mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
F7 Cleanup
This commit is contained in:
parent
e0fddb3902
commit
6e51f2f9b2
10 changed files with 30 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue