stefanmielke / libdragon-extensions

List of structs and functions to help on Libdragon development.
MIT License
6 stars 1 forks source link

Overflow issue in animated_sprite_tick #18

Open adamcate opened 1 year ago

adamcate commented 1 year ago

We need to be able to detect overflows and edge conditions in our animated_sprite_tick function. Currently the timer will eventually overflow and cause a floating point exception after a couple minutes.