1.修复蓝牙和WiFi设置sendtype

This commit is contained in:
payton 2023-12-11 19:17:39 +08:00
parent 3bf5f784e0
commit 9006d37230
2 changed files with 2 additions and 2 deletions

View File

@ -665,7 +665,7 @@ static signed int sf_blue_command_request_process(U8 *val, unsigned int nval, U8
BLU_SLOGI("[BLE_SET_CAMERA_SendType],sendType:%d\n",pMsgStruct->msgBuf.setSendType.sendType);
if(puiPara->GprsMode == 0)
{
puiPara->SendType = pMsgStruct->msgBuf.setSendType.sendType % 4;
puiPara->SendType = pMsgStruct->msgBuf.setSendType.sendType;
puiPara->TimeSend1.Hour = pMsgStruct->msgBuf.setSendType.sendFirstTimeH % 24;
puiPara->TimeSend1.Min = pMsgStruct->msgBuf.setSendType.sendFirstTimeM % 60;
puiPara->TimeSend2.Hour = pMsgStruct->msgBuf.setSendType.sendSecondTimeH % 24;

View File

@ -1592,7 +1592,7 @@ SINT32 sf_svr_packet_proc(SINT32 fd, UINT8 *pAppData, UINT16 dataLen)
MLOGI("[WIFI_SET_CAMERA_SendType],sendType:%d\n",pMsgStruct->msgBuf.setSendType.sendType);
if(puiPara->GprsMode == 0)
{
puiPara->SendType = pMsgStruct->msgBuf.setSendType.sendType % 4;
puiPara->SendType = pMsgStruct->msgBuf.setSendType.sendType;
puiPara->TimeSend1.Hour = pMsgStruct->msgBuf.setSendType.sendFirstTimeH % 24;
puiPara->TimeSend1.Min = pMsgStruct->msgBuf.setSendType.sendFirstTimeM % 60;
puiPara->TimeSend2.Hour = pMsgStruct->msgBuf.setSendType.sendSecondTimeH % 24;