@@ -15,7 +15,7 @@
* Author: QiXiang_CHENJIE
*/
#include "AppGlobalVar.h"
-
+//#define APP_RELEASE
#ifdef APP_RELEASE
const char WebSiteName[] = "\"iotp.fast-fun.cn\"";
uint16 WebSitePort = 8712;
@@ -30,7 +30,7 @@ void Uart0Task(void *pvParameters)
case PROCESS_UART_STATE_IDLE:
{
vTaskDelay(pdMS_TO_TICKS(10));
- if ((TimerCounter % 1000) == 0 && 1)
+ if ((TimerCounter % 1000) == 0)
PROC_UART0_STATE_SWITCH(PROCESS_UART_STATE_READ);
}
@@ -754,10 +754,11 @@ void TcpDataEncode(uint32 *PtrSendAddr, uint16 *SendLen)
DataIdx = 0x8A; //累计信息发送
- else if ((TcpSendTimeCounter) % (60*60*2) == 6)
- {
- DataIdx = 0x01; //时间校准
- }
+// else if ((TcpSendTimeCounter) % (60*60*2) == 6)
+// {
+// DataIdx = 0x01; //时间校准
+// }
+//暂时不进行时间校准,测试时间准确
else
*SendLen = 0;