espressif / esp-bsp

Board support components for Espressif development boards
Other
141 stars 76 forks source link

esp_lvgl_port: Fix bad condition in port deinit (BSP-440) #275

Closed cdollar393 closed 4 months ago

cdollar393 commented 4 months ago

ESP-BSP Pull Request checklist

Note: For new BSPs create a PR with this link.

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 says if (!running) running = false;, but it should be if (running) running = false;. The incorrect condition causes the LVGL task to never be stopped.

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.