From 63452e45ec57bf7936c37d6f7a0c4aca306be976 Mon Sep 17 00:00:00 2001 From: Cliff Geerdes Date: Fri, 3 Jun 2016 12:42:18 -0400 Subject: [PATCH] LP-76 add blank lines in switch --- flight/modules/AutoTune/autotune.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flight/modules/AutoTune/autotune.c b/flight/modules/AutoTune/autotune.c index a55ab50e1..3ae12cd75 100644 --- a/flight/modules/AutoTune/autotune.c +++ b/flight/modules/AutoTune/autotune.c @@ -662,6 +662,7 @@ static void InitSmoothQuick(bool loadToggle) accessoryToUse = SmoothQuickSource - SMOOTH_QUICK_ACCESSORY_BASE; systemIdentSettings.SmoothQuickSource = SmoothQuickSource; break; + case SMOOTH_QUICK_TOGGLE_BASE + 3: // use flight mode switch toggle with 3 points case SMOOTH_QUICK_TOGGLE_BASE + 5: // use flight mode switch toggle with 5 points case SMOOTH_QUICK_TOGGLE_BASE + 7: // use flight mode switch toggle with 7 points @@ -674,6 +675,7 @@ static void InitSmoothQuick(bool loadToggle) } systemIdentSettings.SmoothQuickSource = SmoothQuickSource; break; + case SMOOTH_QUICK_DISABLED: default: // disable PID changing with flight mode switch