v2.10 上报气路选择状态翻转0和1
authorkyz <kongyuzhong@google.com>
Wed, 8 May 2024 11:16:58 +0000 (19:16 +0800)
committerkyz <kongyuzhong@google.com>
Wed, 8 May 2024 11:16:58 +0000 (19:16 +0800)
user/user.h
user/user_report.c

index fb058f3e6b5c72db06ebb7a6d114c04fb88cdcb7..d56a91800acf0e6f274f06c081360a7558afb100 100644 (file)
@@ -34,7 +34,7 @@
 
 
 #define APP_VER_MAJOR 2
-#define APP_VER_MINOR 9
+#define APP_VER_MINOR 10
 
 #define DEVICE_SN_DEFAULT  "A" "02" "01" "240506" "000001"
 #define DEVICE_SN_SIZE     17
index 780f9f3693f0fcd7f22154db6aadb07938952c33..0edb1346a1a0ec085de47e99e56c27be61d8aa5f 100644 (file)
@@ -81,7 +81,7 @@ char * devinfo_report_str( void )
         APP_VER_MAJOR, APP_VER_MINOR,
         g_dev.cfg.remote_locked==1?0:1,
                                g_dev.serial_number,
-                               g_dev.cfg.bypass,
+                               g_dev.cfg.bypass?0:1, //平台定义节气为1, 旁路为0
                                g_dev.cfg.valve_open_default,
                                g_dev.cfg.iot_rpt_period
                                );