mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-18 20:38:54 +00:00
first commit
This commit is contained in:
@@ -603,23 +603,23 @@ void gui_guider_init(void)
|
||||
////speech_uart_int();
|
||||
//上电设置亮度
|
||||
disp_driver_backlight_set(GET_nvs_Sys_Info_backlight());
|
||||
LOG_I("backlight:0x%d",GET_nvs_Sys_Info_backlight());
|
||||
LOG_I_LINE("backlight:0x%d",GET_nvs_Sys_Info_backlight());
|
||||
|
||||
//创建任务 监控内存
|
||||
monitor_thread = rt_thread_create("monitor", //名称
|
||||
monitorTask, //线程代码
|
||||
RT_NULL, //参数
|
||||
4096, //栈大小
|
||||
11, //优先级
|
||||
10); //时间片
|
||||
if (monitor_thread != RT_NULL)
|
||||
{
|
||||
rt_thread_startup(monitor_thread); //线程进入就绪态
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_I("monitor_thread create failure\n");
|
||||
}
|
||||
// //创建任务 监控内存
|
||||
// monitor_thread = rt_thread_create("monitor", //名称
|
||||
// monitorTask, //线程代码
|
||||
// RT_NULL, //参数
|
||||
// 4096, //栈大小
|
||||
// 11, //优先级
|
||||
// 10); //时间片
|
||||
// if (monitor_thread != RT_NULL)
|
||||
// {
|
||||
// rt_thread_startup(monitor_thread); //线程进入就绪态
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// LOG_I_LINE("monitor_thread create failure\n");
|
||||
// }
|
||||
#else
|
||||
// #define IMG_SWICH_test "L:/rodata/lvgl_data/test1.png"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user