|
|
@@ -1888,6 +1888,9 @@ char * makeJson()
|
|
|
#if DZ_260917_1 == 1
|
|
|
cJSON_AddStringToObject(pSubJson,"dz_v","DZ_260917_1");
|
|
|
#endif
|
|
|
+#if PWM_EN == 0
|
|
|
+ cJSON_AddStringToObject(pSubJson,"pwn_en","0");
|
|
|
+#endif
|
|
|
#if 0
|
|
|
//太阳能板电压
|
|
|
cJSON_AddStringToObject(pSubJson,"cv",device_status.voltage_sun);
|
|
|
@@ -2332,7 +2335,7 @@ int parseDtu(char *json_string)
|
|
|
{
|
|
|
//HK_TakePhoto();
|
|
|
device_status.photo_ws = 1;
|
|
|
- device_status.clear_status = 1; //20260522
|
|
|
+ device_status.test_flag = 1; //20261027
|
|
|
char *photo = makeJson_Warn("takephoto","control");
|
|
|
DTU_Write("%s",photo);
|
|
|
rt_free(photo);
|