Merge pull request #3222 from HubertXie/master

【修复】修复sal判断internet连接的隐藏bug
This commit is contained in:
Bernard Xiong 2019-11-26 15:31:20 +08:00 committed by GitHub
commit 2eaf1fae2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ static void check_netdev_internet_up_work(struct rt_work *work, void *work_data)
{
#define SAL_INTERNET_VERSION 0x00
#define SAL_INTERNET_BUFF_LEN 12
#define SAL_INTERNET_TIMEOUT (2 * RT_TICK_PER_SECOND)
#define SAL_INTERNET_TIMEOUT (2)
#define SAL_INTERNET_HOST "link.rt-thread.org"
#define SAL_INTERNET_PORT 8101