From: kyz Date: Wed, 8 May 2024 11:16:58 +0000 (+0800) Subject: v2.10 上报气路选择状态翻转0和1 X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=90360576a992224fd548eee62ef316e4b033caf8;p=yn%2Fweldingcontroller.git v2.10 上报气路选择状态翻转0和1 --- diff --git a/user/user.h b/user/user.h index fb058f3..d56a918 100644 --- a/user/user.h +++ b/user/user.h @@ -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 diff --git a/user/user_report.c b/user/user_report.c index 780f9f3..0edb134 100644 --- a/user/user_report.c +++ b/user/user_report.c @@ -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 );