From 13360a63747d5fc8e2f1dc21553e0689a7301125 Mon Sep 17 00:00:00 2001 From: payton Date: Wed, 5 Jul 2023 16:44:01 +0800 Subject: [PATCH] =?UTF-8?q?1.wifi=E5=88=9D=E5=A7=8B=E5=8C=96=E5=8F=AA?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=80=E6=AC=A1=EF=BC=8C=E4=BB=A5=E5=85=8D?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=E8=AF=BB=E5=8F=96mcu=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E6=97=B6=E5=8F=88=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/sf_app/code/source/wifi/sf_wifi_svr.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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) {