Draw Image change not working

Important: unclear posts may not receive useful answers.

Before posting

  • Get familiar with Markdown to format and structure your post
  • Be sure to update lvgl from the latest version from the master branch.
  • Be sure you have checked the FAQ and read the relevant part of the documentation.
  • If applicable use the Simulator to eliminate hardware related issues.

Delete this section if you read and applied the mentioned points.

Description

What MCU/Processor/Board and compiler are you using?

TX5105

What LVGL version are you using?

v6

What do you want to achieve?

Blinking Image Draw

What have you tried so far?

There is no change in the image.
Displays the current ICON1 image.

If the waiting time is increased, after displaying ICON0 image, ICON1 cannot be displayed.
The size of the image is 32 * 32

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

static aos_mutex_t lvgl_mutex;

static void task_gui_handler(void *arg)

{

while (1) {

    /* Periodically call the lv_task handler.

    * It could be done in a timer interrupt or an OS task too.*/

   aos_mutex_lock(&lvgl_mutex, AOS_WAIT_FOREVER);

    lv_task_handler();

    aos_mutex_unlock(&lvgl_mutex);

    //aos_msleep(10); //10

    aos_msleep(10); //3

}

}
aos_task_new(“ui_handle”, task_gui_handler, NULL, 10*1024);

lv_img_set_src( child, ICON0 );

aos_msleep(30);

lv_img_set_src( child, ICON1 );

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.