|
|
@@ -886,6 +886,7 @@ void Check_ParamConfig(void)
|
|
|
rt_sprintf(device_status.driver, "%s",VERSION_HK);
|
|
|
}
|
|
|
device_status.version_type=3;
|
|
|
+ device_status.ds=1;
|
|
|
rt_sprintf(device_status.driver, "GK3.0");
|
|
|
rt_kprintf("SOFTWARE VERSION:%s-imei:%s--iccid:%s\n",device_status.driver,device_status.imei,device_status.iccid);
|
|
|
rt_kprintf("read flash paramconfis:%d-%s-%s\r\n",device_status.version_type,device_status.driver_bl,device_status.driver_compile);
|
|
|
@@ -967,7 +968,7 @@ void ResetParamDefault(void)
|
|
|
device_status.tpl = 5; //低温保护阈值
|
|
|
device_status.timeSwitch = 0; //定时模式
|
|
|
device_status.heatvalue=110;//加热温度
|
|
|
- device_status.ds = 0; //设备状态开机
|
|
|
+ device_status.ds = 1; //设备状态开机
|
|
|
device_status.thsp = 300;
|
|
|
device_status.passWord = 8888;
|
|
|
ef_set_env_blob("ds", &device_status.ds, sizeof(device_status.ds));
|
|
|
@@ -1000,7 +1001,7 @@ void ResetParamDefault_DC(void)
|
|
|
device_status.tpl = 5; //低温保护阈值
|
|
|
device_status.timeSwitch = 0; //定时模式
|
|
|
device_status.heatvalue=110;
|
|
|
- device_status.ds = 0; //设备状态开机
|
|
|
+ device_status.ds = 1; //设备状态开机
|
|
|
device_status.thsp = 300;
|
|
|
device_status.passWord = 8888;
|
|
|
device_status.timeSwitch = 0;
|