mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Merge pull request #10950 from mikeller/fix_bus_switch
This commit is contained in:
commit
d5631e448e
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ uint8_t systemState = SYSTEM_STATE_INITIALISING;
|
|||
#ifdef BUS_SWITCH_PIN
|
||||
void busSwitchInit(void)
|
||||
{
|
||||
static IO_t busSwitchResetPin = IO_NONE;
|
||||
IO_t busSwitchResetPin = IO_NONE;
|
||||
|
||||
busSwitchResetPin = IOGetByTag(IO_TAG(BUS_SWITCH_PIN));
|
||||
IOInit(busSwitchResetPin, OWNER_SYSTEM, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue