Merge pull request #801 from TheAngularity/patch-2

fixed ledstrip warning blink with better visualisation
This commit is contained in:
Anton 2016-07-21 06:25:25 +02:00 committed by GitHub
commit aebd72a924
1 changed files with 2 additions and 2 deletions

View File

@ -694,10 +694,10 @@ static void applyLedWarningLayer(bool updateNow, uint32_t *timer)
if (warningFlags & (1 << warningId)) {
switch (warningId) {
case WARNING_ARMING_DISABLED:
warningColor = colorOn ? &HSV(GREEN) : NULL;
warningColor = colorOn ? &HSV(GREEN) : &HSV(BLACK);
break;
case WARNING_LOW_BATTERY:
warningColor = colorOn ? &HSV(RED) : NULL;
warningColor = colorOn ? &HSV(RED) : &HSV(BLACK);
break;
case WARNING_FAILSAFE:
warningColor = colorOn ? &HSV(YELLOW) : &HSV(BLUE);