mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Cleanup of the bus switch functionality.
This commit is contained in:
parent
1a97cbc9db
commit
da0377faf4
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ void processLoopback(void)
|
||||||
#ifdef BUS_SWITCH_PIN
|
#ifdef BUS_SWITCH_PIN
|
||||||
void busSwitchInit(void)
|
void busSwitchInit(void)
|
||||||
{
|
{
|
||||||
static IO_t busSwitchResetPin = IO_NONE;
|
IO_t busSwitchResetPin = IO_NONE;
|
||||||
|
|
||||||
busSwitchResetPin = IOGetByTag(IO_TAG(BUS_SWITCH_PIN));
|
busSwitchResetPin = IOGetByTag(IO_TAG(BUS_SWITCH_PIN));
|
||||||
IOInit(busSwitchResetPin, OWNER_SYSTEM, 0);
|
IOInit(busSwitchResetPin, OWNER_SYSTEM, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue