alibaba / AliOS-Things

面向IoT领域的、高可伸缩的物联网操作系统,可去官网了解更多信息https://www.aliyun.com/product/aliosthings
Apache License 2.0
4.58k stars 1.14k forks source link

[HUST CSE]Fix printf type mismatch #1974

Closed arche8 closed 1 year ago

arche8 commented 1 year ago

解决了三处printf输出格式不匹配问题,对pause_state,power_state,recorder_state三个变量的声明位置进行了修改,删去了变量res不必要的初始化。

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

YiluMao commented 1 year ago

对pause_state,power_state,recorder_state三个变量的声明位置进行了修改 这个修改的原因是?

arche8 commented 1 year ago

确实是不必要的改动,已经还原了代码,只对三处printf输出格式不匹配问题进行了修改。

arche8 commented 1 year ago

不好意思回复的有点迟了

YiluMao commented 1 year ago

请帮忙把两个修改合并成一个patch吧 没必要引入太多patch

arche8 commented 1 year ago

好的,已经做出了修改