From da0377faf4a4bceab3163f9084e3a933d4432540 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Tue, 7 Sep 2021 10:28:02 +1200 Subject: [PATCH] Cleanup of the bus switch functionality. --- src/main/fc/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/fc/init.c b/src/main/fc/init.c index 2f08023fd6..496aad18de 100644 --- a/src/main/fc/init.c +++ b/src/main/fc/init.c @@ -198,7 +198,7 @@ void processLoopback(void) #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);