Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Division by zero in countFPS() #881

limpens opened this issue Sep 3, 2019 · 0 comments


Copy link

commented Sep 3, 2019

This issue maybe caused by calling too frequently, but running FastLED on an ESP8266, with the CPU at 160Mhz, I occasionally have a 'millis() == 8191' and lastframe also 8191.

With the logic at this will end up in a 'now' becoming 0 and an exception calculating the m_nFPS.

Sincerely, Eric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.