未验证 提交 2a062267 编写于 作者: S Supowang 提交者: GitHub

Merge pull request #253 from DavidLin1577/patch-26

Update ch20_parser.h
......@@ -19,7 +19,7 @@
#include "tos_k.h"
/* 使能是否开启调试日志 */
/* 使能是否开启调试日志 */
#define CH20_DEBUG_LOG_EN 0
/* CH20 parser config */
......@@ -35,17 +35,17 @@
#endif
/* PM2.5 数据解析器控制块 */
/* 甲醛HCHO 数据解析器控制块 */
typedef struct CH20_parser_control_st {
k_task_t parser_task; //解析器任务控制块
k_task_t parser_task; //解析器任务控制块
k_sem_t parser_rx_sem; //表示解析器从串口接收到数据
k_chr_fifo_t parser_rx_fifo; //存放解析器接收到的数据
k_sem_t parser_rx_sem; //表示解析器从串口接收到数据
k_chr_fifo_t parser_rx_fifo; //存放解析器接收到的数据
} ch20_parser_ctrl_t;
/**
* @brief 解析出的CH20数据值
* @note 可以作为邮件发送给其他任务进行进一步处理
* @brief 解析出的CH20数据值
* @note 可以作为邮件发送给其他任务进行进一步处理
* @param
*/
typedef struct ch20_data_st {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册