lv_binding_rust
lv_binding_rust copied to clipboard
Consider moving boilerplate into its own module/crate?
I'm reading the examples to gain an understanding of how this works and I notice that the boilerplate for calling lv_task_handler
and lv_tick_inc
is duplicated across many of the examples. It might be worth moving this to a common crate where it can be reused.
https://github.com/rafaelcaricio/lvgl-rs/blob/b85226aadac7b9eeed6bebcb34f2008ea803eaa4/examples/gauge.rs#L60-L107