提交 634c3a35 编写于 作者: G Grissiom

rtgui_demo: port to new API

上级 94a727a4
......@@ -365,7 +365,7 @@ void snake_main(void)
struct rtgui_win *win;
rtgui_rect_t rect;
application = rtgui_app_create(rt_thread_self(), "sanke_app");
application = rtgui_app_create("sanke_app");
if (application != RT_NULL)
{
rtgui_get_screen_rect(&rect);
......@@ -397,4 +397,4 @@ void snake_main(void)
}
#include <finsh.h>
FINSH_FUNCTION_EXPORT(snake_main, snake run)
\ No newline at end of file
FINSH_FUNCTION_EXPORT(snake_main, snake run)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册