zhunk 3 недель назад
Родитель
Сommit
2364fd0331
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Application_cbd_apm32f1/applications/dtu_uart2.c

+ 2 - 0
Application_cbd_apm32f1/applications/dtu_uart2.c

@@ -2703,6 +2703,7 @@ int parseDtu(char *json_string)
                 rt_free(takephotojson);
                 #else
                 device_status.photo_ws=1;
+                device_status.test_flag = 1;
                 char *photo = makeJson_Warn("takephoto","control");
                 DTU_Write("%s",photo);
                 rt_free(photo);
@@ -2736,6 +2737,7 @@ int parseDtu(char *json_string)
                   {
                       //HK_TakePhoto();
                       device_status.photo_ws = 1;
+                      device_status.test_flag = 1;
                       char *photo = makeJson_Warn("takephoto","control");
                       DTU_Write("%s",photo);
                       rt_free(photo);