File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1404,6 +1404,8 @@ void WS2812FX::finalizeInit() {
14041404 deserializeMap (); // (re)load default ledmap (will also setUpMatrix() if ledmap does not exist)
14051405}
14061406
1407+ #pragma GCC push_options
1408+ #pragma GCC optimize ("O3")
14071409void WS2812FX::service () {
14081410 unsigned long nowUp = millis (); // Be aware, millis() rolls over every 49 days
14091411 now = nowUp + timebase;
@@ -1568,6 +1570,7 @@ void WS2812FX::service() {
15681570 if ((_targetFps != FPS_UNLIMITED) && (millis () - nowUp > _frametime)) DEBUG_PRINTF_P (PSTR (" Slow strip %u/%d.\n " ), (unsigned )(millis ()-nowUp), (int )_frametime);
15691571 #endif
15701572}
1573+ #pragma GCC pop_options
15711574
15721575void IRAM_ATTR WS2812FX::setPixelColor (unsigned i, uint32_t col) const {
15731576 i = getMappedPixelIndex (i);
You can’t perform that action at this time.
0 commit comments