当前位置:网站首页>Keil c's switch statement causes the chip to not run normally
Keil c's switch statement causes the chip to not run normally
2022-06-22 06:25:00 【qasxc78563】
There is a problem
switch (opratComd)
{
case COMD_Watch:
printfStr("-------------COMD_Watch\n");
break;
case COMD_Open:
printfStr("-------------COMD_Open\n");
break;
}
The above paragraph is missing default:break; sentence , however keil Compile without error
natural
switch (opratComd)
{
case COMD_Watch:
printfStr("-------------COMD_Watch\n");
break;
case COMD_Open:
printfStr("-------------COMD_Open\n");
break;
default:
return opratComd;
break;
}
边栏推荐
猜你喜欢
随机推荐
Armadillo安装
-bash: telnet: command not found的解决方法
上传文件提示 413 Request Entity Too Large 错误
ForkJoinPool
Current harmonic suppression strategy of grid connected inverter with PIR controller regulator
常用的辅助类—(重点)
CGIC file upload - rookie notes
Pyg tutorial (7): dissecting neighborhood aggregation
W800 chip platform enters openharmony backbone
Shengxin visualization (Part3) -- violin diagram
On the matrix order of MNIST linear model
On the definition of jinja2 macro
[5g NR] NAS connection management - cm status
Swagger common annotation summary
Surfer grid file clipping
Upload file prompt 413 request entity too large error
生产者和消费者问题
R language observation log (part24) -- writexl package
Four functional interfaces (required)
Subqueries in sqlserver









