Merge pull request #3222 from HubertXie/master
【修复】修复sal判断internet连接的隐藏bug
This commit is contained in:
commit
2eaf1fae2e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user