mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-24 09:30:19 +08:00
Merge pull request #3222 from HubertXie/master
【修复】修复sal判断internet连接的隐藏bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user