|
|
@@ -611,6 +611,11 @@ static void HMI_Decode(void)
|
|
|
DTU_Write("%s",photo);
|
|
|
rt_free(photo);
|
|
|
}
|
|
|
+ else if(strstr(rx_buffer,"putTest.switchPhoto=0")!=NULL) {
|
|
|
+ device_status.photo_ws = 0;
|
|
|
+ rt_thread_delay(500);
|
|
|
+ LOG_I("停止拍照!");
|
|
|
+ }
|
|
|
else if (strstr(rx_buffer,"putTest.switchPic=1")!=NULL) {
|
|
|
device_status.photo_ws = 0;
|
|
|
rt_thread_delay(500);
|