1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-31 16:52:10 +01:00

LP-76 add blank lines in switch

This commit is contained in:
Cliff Geerdes 2016-06-03 12:42:18 -04:00
parent e880ce6822
commit 63452e45ec

View File

@ -662,6 +662,7 @@ static void InitSmoothQuick(bool loadToggle)
accessoryToUse = SmoothQuickSource - SMOOTH_QUICK_ACCESSORY_BASE; accessoryToUse = SmoothQuickSource - SMOOTH_QUICK_ACCESSORY_BASE;
systemIdentSettings.SmoothQuickSource = SmoothQuickSource; systemIdentSettings.SmoothQuickSource = SmoothQuickSource;
break; break;
case SMOOTH_QUICK_TOGGLE_BASE + 3: // use flight mode switch toggle with 3 points 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 + 5: // use flight mode switch toggle with 5 points
case SMOOTH_QUICK_TOGGLE_BASE + 7: // use flight mode switch toggle with 7 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; systemIdentSettings.SmoothQuickSource = SmoothQuickSource;
break; break;
case SMOOTH_QUICK_DISABLED: case SMOOTH_QUICK_DISABLED:
default: default:
// disable PID changing with flight mode switch // disable PID changing with flight mode switch