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:
parent
bebff3fb35
commit
e823cc5fb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue