Skip to content

Commit

Permalink
Merge branch 'main' into 0.3.0-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
CDFER authored Apr 10, 2023
2 parents 4000f15 + 91fd8c9 commit 70b7763
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ void updateLightBar(NeoPixelBus<NeoGrbFeature, NeoEsp32I2s1Ws2812xMethod> &light
lightBar.SetPixelColor(mixingPixel - 1, RgbColor(0)); // set one pixel above the mixing pixel to black
lightBar.SetPixelColor(mixingPixel, baseColor.Dim(mixingPixelBrightness)); // set mixing pixel


if (mixingPixel < LAST_PIXEL) {
lightBar.ClearTo(baseColor, mixingPixel + 1, LAST_PIXEL); // fill solid color to the bottom of the bar
}
Expand Down Expand Up @@ -475,7 +476,7 @@ void setUpWebserver(AsyncWebServer &server, const IPAddress &localIP) {
xTaskCreate(clearLightBar, "clearLightBar", 5000, NULL, 1, NULL);
ESP_LOGI("", "led off Requested");
});

server.on("/favicon.ico", [](AsyncWebServerRequest *request) { request->send(404); });

// Required for captive portal redirects
Expand Down

0 comments on commit 70b7763

Please sign in to comment.