Skip to content

Commit cec8583

Browse files
committed
samples: modules: lvgl: demos: Migrate to v9.2
This patch changes the usage of LVGL functions which are typedefed in the api map to their new version to anticipate their deprecation. Signed-off-by: Fabian Blatz <[email protected]>
1 parent f9458b5 commit cec8583

File tree

1 file changed

+2
-2
lines changed
  • samples/modules/lvgl/demos/src

1 file changed

+2
-2
lines changed

samples/modules/lvgl/demos/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ int main(void)
3636
CONFIG_LV_USE_DEMO_STRESS, or CONFIG_LV_USE_DEMO_WIDGETS
3737
#endif
3838

39-
lv_task_handler();
39+
lv_timer_handler();
4040
display_blanking_off(display_dev);
4141

4242
while (1) {
43-
k_msleep(lv_task_handler());
43+
k_msleep(lv_timer_handler());
4444
}
4545

4646
return 0;

0 commit comments

Comments
 (0)