|
|
@@ -2040,6 +2040,7 @@ static void HMI_Decode(void)
|
|
|
rt_free(takephotojson);
|
|
|
HMI_WRITE("sysTest.switchPhoto.val=0");
|
|
|
#else
|
|
|
+ device_status.test_flag=1;
|
|
|
device_status.photo_ws = 1;
|
|
|
#endif
|
|
|
}
|
|
|
@@ -3034,7 +3035,11 @@ static void Ctr_Mortor_entry(void* parameter)
|
|
|
device_status.photo_ws = 0;
|
|
|
photo_led_sec = 900;
|
|
|
device_status.photo_left = 0;
|
|
|
- device_status.clear_status = 1;
|
|
|
+ if(device_status.test_flag==0){
|
|
|
+ device_status.clear_status = 1;
|
|
|
+ }else{
|
|
|
+ device_status.test_flag = 0;
|
|
|
+ }
|
|
|
HMI_WRITE("sysTest.switchPhoto.val=0");
|
|
|
HMI_WRITE("sysTest.switchFill.val=0");
|
|
|
}
|