From 6fb781e6b5fe8f4f44c7046b30cbee47512f5bd9 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Fri, 23 Aug 2024 11:01:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AE=BE=E5=A4=87=E5=A4=8D?= =?UTF-8?q?=E4=BD=8D=E4=B8=8A=E6=8A=A5=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- transmit_disfection_protocol.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/transmit_disfection_protocol.hpp b/transmit_disfection_protocol.hpp index 3ce4c42..f459b5c 100644 --- a/transmit_disfection_protocol.hpp +++ b/transmit_disfection_protocol.hpp @@ -121,6 +121,7 @@ typedef enum { kfn_reset_board = 8, // cmd: kreport_heatpacket_pong = 50, // cmd:no ack:no report:heatpacket_t kreport_exception_error = 51, // report:error_code,subid + kreport_device_reset = 52, // report:error_code,subid /*********************************************************************************************************************** * 蠕动泵控制 * @@ -364,9 +365,9 @@ typedef struct { typedef struct { uint8_t sensor_error; // 传感器异常 uint16_t h2o2; // ppm * 10 - uint16_t rh; // %RH * 10 + uint16_t rh; // %RH * 10 uint16_t temp; // °C * 10 - uint16_t rs; // %RS * 10 + uint16_t rs; // %RS * 10 uint16_t h2o2adc; // adc_val } report_h2o2_data_t;