diff --git a/bsp/stm32_radio/application.c b/bsp/stm32_radio/application.c index 2e32bd362a7b090502a392a85e683e23cc4a0834..09620a8fe04e6f2374eb870d0dadd520c32c6fe6 100644 --- a/bsp/stm32_radio/application.c +++ b/bsp/stm32_radio/application.c @@ -32,6 +32,8 @@ #include /* dfs filesystem:EFS filesystem init */ #include +/* dfs filesystem:ELM FatFs filesystem init */ +#include /* dfs Filesystem APIs */ #include #endif diff --git a/bsp/stm32_radio/info.c b/bsp/stm32_radio/info.c index 8185f987050f6c498bcf1384bd6eadc72d415738..de5ad25fa4dcc5371193c2377f69fcf0ce22f13b 100644 --- a/bsp/stm32_radio/info.c +++ b/bsp/stm32_radio/info.c @@ -66,6 +66,7 @@ static void info_entry(void* parameter) if (workbench == RT_NULL) return; view = rtgui_view_create("view"); + RTGUI_WIDGET_BACKGROUND(RTGUI_WIDGET(view)) = white; rtgui_widget_set_event_handler(RTGUI_WIDGET(view), view_event_handler); rtgui_workbench_add_view(workbench, view); diff --git a/bsp/stm32_radio/rtconfig.h b/bsp/stm32_radio/rtconfig.h index d34079b6cc91075348a09fb9f52b11a708195161..20860de64828f9eafc92dac55afa624bf0746982 100644 --- a/bsp/stm32_radio/rtconfig.h +++ b/bsp/stm32_radio/rtconfig.h @@ -174,5 +174,7 @@ #define RTGUI_USING_SMALL_SIZE /* use mouse cursor */ /* #define RTGUI_USING_MOUSE_CURSOR */ +/* default font size in RTGUI */ +#define RTGUI_DEFAULT_FONT_SIZE 16 #endif