I made some attempts. In the first attempt, my two update functions only update the flag bit. Lv_label_set_text_fmt is executed after the flag bit is detected by one lv_task so that it will not crash. In the second attempt, my two update functions are executed There is a time interval between them so that they do not crash