【修复】sim76xx 中提示 set_date/set_time 未定义错误
Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
parent
dd11316384
commit
66b9b700b1
@ -286,7 +286,7 @@ static void sim76xx_init_thread_entry(void *parameter)
|
|||||||
result = -RT_ERROR;
|
result = -RT_ERROR;
|
||||||
goto __exit;
|
goto __exit;
|
||||||
}
|
}
|
||||||
|
#ifdef RT_USING_RTC
|
||||||
/* get real time */
|
/* get real time */
|
||||||
int year, month, day, hour, min, sec;
|
int year, month, day, hour, min, sec;
|
||||||
|
|
||||||
@ -317,6 +317,7 @@ static void sim76xx_init_thread_entry(void *parameter)
|
|||||||
result = -RT_ERROR;
|
result = -RT_ERROR;
|
||||||
goto __exit;
|
goto __exit;
|
||||||
}
|
}
|
||||||
|
#endif /* RT_USING_RTC */
|
||||||
|
|
||||||
/* set active PDP context's profile number */
|
/* set active PDP context's profile number */
|
||||||
AT_SEND_CMD(client, resp, "AT+CSOCKSETPN=1");
|
AT_SEND_CMD(client, resp, "AT+CSOCKSETPN=1");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user