[v8.3.x][rt-thread][squareline] fix compiler cannot find the lvgl/lvg… (#3834)

This commit is contained in:
Man, Jianting (Meco)
2022-11-28 13:38:29 -05:00
committed by GitHub
parent 41fa416134
commit ae300acb2f
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__ */