嵌入式学习小组
直播中

李梁

8年用户 171经验值
私信 关注

战舰V3移植STEMWIN+UCOSII后使用GUI_Delay()函数四级是为什么?

void display_task(void *pdata)
{
////GUI_DispChar('A');
// GUI_DispCharAt('C', 110, 120);
while(1)
{
Buttonbmp_Demo();
//GUI_Exec();//===============================??????
//OStimeDlyHMSM(0,0,0,100);
}
}
任务函数
void Buttonbmp_Demo(void)
{
WM_HWIN hWin;
hWin=CreateFramewin();
while(1)
{
//GUI_Exec();//===============================??????
//printf("chuangjianchenggong");
GUI_Delay(100);
//printf("chuangjianchenggong");
}
}

回帖(2)

刘溪

2020-8-27 14:23:29
问题已经解决了,显示任务堆栈空间开的太小了
举报

刘馨

2020-8-27 14:43:20
宏#define SYSTEM_SUPPORT_OS有没有改为1
举报

更多回帖

发帖
×
20
完善资料,
赚取积分