modules: lvgl: fix initialization macro syntax

Adding a semicolon after the do-while loop in the LV_DEV_INIT()
macro also supports multiple instantiation.

Signed-off-by: Stephan Linz <linz@li-pro.net>
This commit is contained in:
Stephan Linz 2024-07-04 13:39:01 +02:00 committed by Alberto Escolar
parent bebff3fb35
commit e823cc5fb4

View file

@ -73,7 +73,7 @@ int lvgl_input_register_driver(lv_indev_type_t indev_type, const struct device *
if (ret) { \
return ret; \
} \
} while (0)
} while (0);
int lvgl_init_input_devices(void)
{