fix(rt-thread): fix compiler cannot find the lvgl/lvgl.h file with SquareLine (#3814)

This commit is contained in:
Man, Jianting (Meco)
2022-11-28 14:58:24 -05:00
committed by GitHub
parent 9f3bf8656d
commit ea15573988
3 changed files with 18 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
/*
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: MIT
*
* Change Logs:
* Date Author Notes
* 2022-05-13 Meco Man First version
*/
#ifdef __RTTHREAD__
void lv_user_gui_init(void)
{
extern void ui_init(void);
ui_init();
}
#endif /* __RTTHREAD__ */