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

Draw function never returns true #4

Open
philsson opened this issue Feb 7, 2019 · 1 comment
Open

Draw function never returns true #4

philsson opened this issue Feb 7, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@philsson
Copy link
Owner

philsson commented Feb 7, 2019

If the desired value for any layer is not changed, eventually after enough calls to "draw" the current value should reach the desired value. This never seems to happen.

One place this occurs is when running "Display::test()". The exit condition is to get true from "Display::draw()" at the last animation. Instead the max amount of iterations is reached.

Another example is if we for example plot the WiFi status on the top layer, then the top layer is never properly cleared neither calling Display::clear() with specified "All" layers argument or not (Defaults to clear MID layer).

@philsson philsson added the bug Something isn't working label Feb 7, 2019
@philsson
Copy link
Owner Author

philsson commented Feb 7, 2019

The clear function should maybe clear the current layers, not only the desired values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant