Skip to content

Commit

Permalink
Merge pull request espressif#275 from cdollar393/fix/lvgl-port-deinit…
Browse files Browse the repository at this point in the history
…-fix

esp_lvgl_port: Fix bad condition in port deinit (BSP-440)
  • Loading branch information
espzav authored Jan 15, 2024
2 parents 1a1bd4b + 1fa23e3 commit c62e19f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/esp_lvgl_port/esp_lvgl_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ esp_err_t lvgl_port_deinit(void)
}

/* Stop running task */
if (!lvgl_port_ctx.running) {
if (lvgl_port_ctx.running) {
lvgl_port_ctx.running = false;
} else {
lvgl_port_task_deinit();
Expand Down

0 comments on commit c62e19f

Please sign in to comment.