Commit graph

3 commits

Author SHA1 Message Date
Matthew Colvin
65162049b3 convert notification driven battery to lvgl timer based polling
using new poller class to simplify the battery interface and
downstream usages of battery.

tweaked poller destructor and remove the default constructor
in preference of using a unique pointer

convert simulator to use a std::thread for lvgl Tick api because
the SDL thread sleep was not true to time. (and is simplified the code...)
2023-09-09 21:47:36 -04:00
Matthew Colvin
ae7a7d6dab modified poller to have callable first in constructor 2023-09-09 21:47:36 -04:00
Matthew Colvin
f5f856ba63 add poller to simplify polling UI updates 2023-09-09 21:47:36 -04:00