fixed ledstrip warning overlay long dark pause between blinks

This commit is contained in:
TheAngularity 2016-07-20 20:46:18 +02:00 committed by GitHub
parent 8ecd5e10c8
commit cfc38960f2
1 changed files with 1 additions and 2 deletions

View File

@ -687,7 +687,7 @@ static void applyLedWarningLayer(bool updateNow, uint32_t *timer)
}
if (warningFlags) {
const hsvColor_t *warningColor = &HSV(BLACK);
const hsvColor_t *warningColor = NULL;
bool colorOn = (warningFlashCounter % 2) == 0; // w_w_
warningFlags_e warningId = warningFlashCounter / 4;
@ -705,7 +705,6 @@ static void applyLedWarningLayer(bool updateNow, uint32_t *timer)
default:;
}
}
if (warningColor)
applyLedHsv(LED_MOV_OVERLAY(LED_FLAG_OVERLAY(LED_OVERLAY_WARNING)), warningColor);
}
}