|
@@ -348,9 +348,11 @@ static void Main_Task(void* arg)
|
|
|
while(1)
|
|
|
{
|
|
|
if(!slpManDeepSlpTimerIsRunning(deepslpTimerID))
|
|
|
+ {
|
|
|
slpManDeepSlpTimerDel(deepslpTimerID);
|
|
|
- slpManDeepSlpTimerStart(deepslpTimerID, Sleep_Time);
|
|
|
- osDelay(30000/portTICK_PERIOD_MS);
|
|
|
+ slpManDeepSlpTimerStart(deepslpTimerID, Sleep_Time);
|
|
|
+ }
|
|
|
+ osDelay(60000/portTICK_PERIOD_MS);
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
@@ -1307,7 +1309,7 @@ static void Tcp_Task(void* arg)
|
|
|
printf("\n");
|
|
|
#endif
|
|
|
TcpsendID = send(sockfd, TcpSendBuffer, NB_send_len, 0 );
|
|
|
- //发送失败暂时不写
|
|
|
+ //发送失败
|
|
|
#ifdef USING_PRINTF
|
|
|
printf("ConnectID:%d,TcpSend:%d,data length:%d,Data: ",sockfd,TcpsendID,NB_send_len);
|
|
|
for (int i = 0; i < NB_send_len; i++)
|