lv_binding_rust icon indicating copy to clipboard operation
lv_binding_rust copied to clipboard

Consider moving boilerplate into its own module/crate?

Open embeddedt opened this issue 4 years ago • 10 comments

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

embeddedt avatar Jun 19 '20 12:06 embeddedt