diff --git a/code/application/source/sf_app/code/source/wifi/sf_wifi_svr.c b/code/application/source/sf_app/code/source/wifi/sf_wifi_svr.c index f621301b1..0247ba962 100644 --- a/code/application/source/sf_app/code/source/wifi/sf_wifi_svr.c +++ b/code/application/source/sf_app/code/source/wifi/sf_wifi_svr.c @@ -1442,12 +1442,17 @@ SINT32 sf_svr_packet_proc(SINT32 fd, UINT8 *pAppData, UINT16 dataLen) break; case WIFI_SET_CAMERA_MultiShot: //O - MLOGI("Multishot:%d\nMultishotInterval:%d\n,SendMultishot:%d\n", pMsgStruct->msgBuf.setMultiShot.multiShot, + MLOGI("Multishot:%d\nMultishotInterval:%d\nSendMultishot:%d\n", pMsgStruct->msgBuf.setMultiShot.multiShot, pMsgStruct->msgBuf.setMultiShot.multiInterval, pMsgStruct->msgBuf.setMultiShot.sendMulti); - puiPara->Multishot = pMsgStruct->msgBuf.setMultiShot.multiShot % 3+1; + // puiPara->Multishot = pMsgStruct->msgBuf.setMultiShot.multiShot % 3+1; + //puiPara->MultiShotIntevel = pMsgStruct->msgBuf.setMultiShot.multiInterval % 3; + //puiPara->SendMulti = pMsgStruct->msgBuf.setMultiShot.sendMulti % 2; + + puiPara->Multishot = pMsgStruct->msgBuf.setMultiShot.multiShot % 3; puiPara->MultiShotIntevel = pMsgStruct->msgBuf.setMultiShot.multiInterval % 3; - puiPara->SendMulti = pMsgStruct->msgBuf.setMultiShot.sendMulti % 2; + puiPara->SendMulti = !!pMsgStruct->msgBuf.setMultiShot.sendMulti; + //sf_set_cam_mode(puiPara->CamMode); if(puiPara->SendMulti == 0) {