Memory issues resolved
This commit is contained in:
@@ -58,7 +58,7 @@ typedef struct
|
||||
lv_obj_t *obj;
|
||||
} menu_context_t;
|
||||
|
||||
static void gui_task(void);
|
||||
static void gui_task(void *pvParameters);
|
||||
static void createBubble(lv_obj_t * scr);
|
||||
static void build_scrollable_menu(void);
|
||||
static void currentFocusIndex(menu_context_t *ctx);
|
||||
@@ -513,8 +513,9 @@ static void build_scrollable_menu(void) {
|
||||
}
|
||||
|
||||
|
||||
static void gui_task(void)
|
||||
static void gui_task(void *pvParameters)
|
||||
{
|
||||
(void)pvParameters; // Unused parameter
|
||||
system_subscribe(xTaskGetCurrentTaskHandle());
|
||||
|
||||
// Grab queue handle
|
||||
@@ -528,6 +529,7 @@ static void gui_task(void)
|
||||
//lv_obj_add_flag(_menu, LV_OBJ_FLAG_HIDDEN);
|
||||
UNLOCK();
|
||||
|
||||
ESP_LOGI(TAG, "Start GUI Task...");
|
||||
while (1)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user