Change precedence of LED flight mode colors.

This commit is contained in:
Dominic Clifton 2014-06-08 12:34:14 +01:00
parent 8d6f48cddc
commit b200e2cb2d
1 changed files with 6 additions and 7 deletions

View File

@ -471,19 +471,18 @@ void updateLedStrip(void)
setStripColors(stripReds);
}
if (f.HORIZON_MODE) {
setStripColors(stripHorizon);
} else if (f.ANGLE_MODE) {
setStripColors(stripAngle);
if (f.HEADFREE_MODE) {
setStripColors(stripHeadfree);
#ifdef MAG
} else if (f.MAG_MODE) {
setStripColors(stripMag);
#endif
} else if (f.HEADFREE_MODE) {
setStripColors(stripHeadfree);
} else if (f.HORIZON_MODE) {
setStripColors(stripHorizon);
} else if (f.ANGLE_MODE) {
setStripColors(stripAngle);
}
// LAYER 2
if (batteryFlashNow) {