Merge pull request #253 from DavidLin1577/patch-26

Update ch20_parser.h
This commit is contained in:
Supowang 2020-11-23 11:02:46 +08:00 committed by GitHub
commit 2a06226767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -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 {