From 696d1af3d43d86f55c53467a8833a838d5c9079f Mon Sep 17 00:00:00 2001 From: Rogerz Zhang Date: Sat, 2 Feb 2013 20:06:23 +0800 Subject: [PATCH] Fix build error in efm32 --- bsp/efm32/application.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/efm32/application.c b/bsp/efm32/application.c index 665e0450a8..781b1ab77e 100644 --- a/bsp/efm32/application.c +++ b/bsp/efm32/application.c @@ -173,7 +173,7 @@ static void app_main(void *parameter) /* create application */ struct rtgui_app *app; - app = rtgui_app_create(rt_thread_self(), "gui_app"); + app = rtgui_app_create("gui_app"); if (app == RT_NULL) { rt_kprintf("Create application \"gui_app\" failed!\n"); @@ -403,7 +403,7 @@ static void app_photo(void *parameter) /* create application */ struct rtgui_app *app; - app = rtgui_app_create(rt_thread_self(), "pho_app"); + app = rtgui_app_create("pho_app"); if (app == RT_NULL) { rt_kprintf("Create application \"pho_app\" failed!\n");