当前位置:网站首页>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;
}
边栏推荐
- PgSQL batch insert
- -bash: telnet: command not found的解决方法
- 线程池的三大方法
- 【OpenAirInterface5g】高层模块接口及itti实体线程创建
- Current harmonic suppression strategy of grid connected inverter with PIR controller regulator
- pip升级难题(已解决)You are using pip version 19.0.3, however version 22.1.2 is available.
- Leetcode the shortest path of three (eight) charts per week
- Detailed interpretation of tab[i = (n - 1) & hash]
- What is JUC
- Huiding technology gr551x series development board supports openharmony
猜你喜欢

Current harmonic suppression strategy of grid connected inverter with PIR controller regulator

Pyg tutorial (7): dissecting neighborhood aggregation

SQL 注入漏洞(十三)base64注入

Dynamically create object execution methods

leetcode每周3道(八)图之最短路
![[PHP] composer 安装](/img/37/7adaca01b95085b42a116bc6b08165.png)
[PHP] composer 安装

Chrome 安装 driver

Vulnérabilité à l'injection SQL (XIII) injection base64

用蒙特卡洛法求圆周率pi

Discrete PID control based on MATLAB
随机推荐
[openairinterface5g] rrcsetuprequest for RRC NR resolution
Vertical maximum and minimum and horizontal maximum and minimum greatest(), least(), max(), min()
C技能树评测——用户至上做精品
No business series 7: removing spots from old photos
Shengxin visualization (Part1) -- histogram
Leetcode the shortest path of three (eight) charts per week
Subqueries in sqlserver
On the definition of jinja2 macro
leetcode每周3道(八)图之最短路
[PHP]TP6 CLI模式下创建tp6和多应用配置以及常见问题
Armadillo安装
5G终端标识SUPI,SUCI及IMSI解析
CGIC文件上传----菜鸟笔记
高考是人生旅途的一处驿站
e. Hash & oldcap = = 0 detailed interpretation
Class load memory analysis
[5g NR] ng setup of ngap protocol
College entrance examination is a post station on the journey of life
Single cell thesis record (Part12) -- unsupervised spatial embedded deep representation of spatial transcriptomics
ERROR: cannot verify nih.at’s certificate, issued by “/C=US/O=Let‘s Encrypt/CN=R3”,wget报错