Skip to content

Commit 3323d2e

Browse files
committed
another merge fix
1 parent 7b9b3f1 commit 3323d2e

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

wled00/FX_fcn.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff 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-
14741457
void WS2812FX::setTargetFps(unsigned fps) {
14751458
if (fps <= 250) _targetFps = fps;
14761459
if (_targetFps > 0) _frametime = 1000 / _targetFps;

0 commit comments

Comments
 (0)