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