From 25b325e59aa0abdb201a19c38b3197be78c8a3eb Mon Sep 17 00:00:00 2001 From: mikeller Date: Sun, 11 Oct 2020 13:51:09 +1300 Subject: [PATCH] Fixed coding style. --- src/main/io/vtx_smartaudio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/io/vtx_smartaudio.c b/src/main/io/vtx_smartaudio.c index b7e412f940..fd15b80fcf 100644 --- a/src/main/io/vtx_smartaudio.c +++ b/src/main/io/vtx_smartaudio.c @@ -918,7 +918,7 @@ static void vtxSASetPowerByIndex(vtxDevice_t *vtxDevice, uint8_t index) static void vtxSASetPitMode(vtxDevice_t *vtxDevice, uint8_t onoff) { - static bool bLastOnOff = false; + static bool lastOnOff = false; if (!vtxSAIsReady(vtxDevice) || saDevice.version < 2) { return; @@ -930,10 +930,10 @@ static void vtxSASetPitMode(vtxDevice_t *vtxDevice, uint8_t onoff) } // Only issue pit mode commands on status change - if (bLastOnOff == onoff) { + if (lastOnOff == onoff) { return; } - bLastOnOff = onoff; + lastOnOff = onoff; if (saDevice.version >= 3 && !saDevice.willBootIntoPitMode) { if (onoff) {