lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
237 stars 156 forks source link

Just a compiler warning #257

Closed kdschlosser closed 1 year ago

kdschlosser commented 1 year ago

When compiling for an ESP32 the following warning comes up.

/lv_micropython/lib/lv_bindings/lvgl/src/misc/lv_timer.c: In function 'lv_timer_exec':
/lv_micropython/lib/lv_bindings/lvgl/src/misc/lv_timer.c:316:52: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
         else TIMER_TRACE("timer callback finished");
amirgon commented 1 year ago

This is related to LVGL sources not to the binding.
Could you please re-open this on LVGL repo? (I think it's better to open a PR instead of an issue in this case)