1.wifi初始化只设置一次,以免命令读取mcu参数时又初始化
This commit is contained in:
parent
1939d6bed2
commit
13360a6374
|
@ -1442,12 +1442,17 @@ SINT32 sf_svr_packet_proc(SINT32 fd, UINT8 *pAppData, UINT16 dataLen)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WIFI_SET_CAMERA_MultiShot: //O
|
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.multiInterval,
|
||||||
pMsgStruct->msgBuf.setMultiShot.sendMulti);
|
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->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);
|
//sf_set_cam_mode(puiPara->CamMode);
|
||||||
if(puiPara->SendMulti == 0)
|
if(puiPara->SendMulti == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user