zhunk пре 7 месеци
родитељ
комит
d6b5fbfb2c
2 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      Application_CBD/applications/hmi.c
  2. BIN
      Application_CBD/makefile.targets

+ 5 - 0
Application_CBD/applications/hmi.c

@@ -611,6 +611,11 @@ static void HMI_Decode(void)
         DTU_Write("%s",photo);
         DTU_Write("%s",photo);
         rt_free(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) {
     else if (strstr(rx_buffer,"putTest.switchPic=1")!=NULL) {
         device_status.photo_ws = 0;
         device_status.photo_ws = 0;
         rt_thread_delay(500);
         rt_thread_delay(500);

BIN
Application_CBD/makefile.targets