File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1454,23 +1454,6 @@ void WS2812FX::show() {
14541454 }
14551455}
14561456
1457- /* *
1458- * Returns a true value if any of the strips are still being updated.
1459- * On some hardware (ESP32), strip updates are done asynchronously.
1460- */
1461- bool WS2812FX::isUpdating () const {
1462- return !BusManager::canAllShow ();
1463- }
1464-
1465- /* *
1466- * Returns the refresh rate of the LED strip. Useful for finding out whether a given setup is fast enough.
1467- * Only updates on show() or is set to 0 fps if last show is more than 2 secs ago, so accuracy varies
1468- */
1469- uint16_t WS2812FX::getFps () const {
1470- if (millis () - _lastShow > 2000 ) return 0 ;
1471- return (FPS_MULTIPLIER * _cumulativeFps) >> FPS_CALC_SHIFT; // _cumulativeFps is stored in fixed point
1472- }
1473-
14741457void WS2812FX::setTargetFps (unsigned fps) {
14751458 if (fps <= 250 ) _targetFps = fps;
14761459 if (_targetFps > 0 ) _frametime = 1000 / _targetFps;
You can’t perform that action at this time.
0 commit comments