The lvgl_port_deinit() method appears to have an incorrect if-condition when checking if the LVGL task is running. Currently the code essentially says if (!running) running = false;, but it should be if (running) running = false;. The incorrect condition causes the LVGL task to never be stopped.
ESP-BSP Pull Request checklist
Change description
The
lvgl_port_deinit()
method appears to have an incorrect if-condition when checking if the LVGL task is running. Currently the code essentially saysif (!running) running = false;
, but it should beif (running) running = false;
. The incorrect condition causes the LVGL task to never be stopped.