【修改】还原 at_net_init 线程启动配置方式改动
Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
parent
fd73cf6e7d
commit
fe2bb3d4d6
|
@ -601,7 +601,7 @@ __exit:
|
||||||
|
|
||||||
int esp8266_net_init(void)
|
int esp8266_net_init(void)
|
||||||
{
|
{
|
||||||
#ifdef AT_DEVICE_INIT_BY_THREAD
|
#ifdef PKG_AT_INIT_BY_THREAD
|
||||||
rt_thread_t tid;
|
rt_thread_t tid;
|
||||||
|
|
||||||
tid = rt_thread_create("esp8266_net_init", esp8266_init_thread_entry, RT_NULL,ESP8266_THREAD_STACK_SIZE, ESP8266_THREAD_PRIORITY, 20);
|
tid = rt_thread_create("esp8266_net_init", esp8266_init_thread_entry, RT_NULL,ESP8266_THREAD_STACK_SIZE, ESP8266_THREAD_PRIORITY, 20);
|
||||||
|
|
|
@ -780,7 +780,7 @@ __exit:
|
||||||
|
|
||||||
int m26_net_init(void)
|
int m26_net_init(void)
|
||||||
{
|
{
|
||||||
#ifdef AT_DEVICE_INIT_BY_THREAD
|
#ifdef PKG_AT_INIT_BY_THREAD
|
||||||
rt_thread_t tid;
|
rt_thread_t tid;
|
||||||
|
|
||||||
tid = rt_thread_create("m26_net_init", m26_init_thread_entry, RT_NULL, M26_THREAD_STACK_SIZE, M26_THREAD_PRIORITY, 20);
|
tid = rt_thread_create("m26_net_init", m26_init_thread_entry, RT_NULL, M26_THREAD_STACK_SIZE, M26_THREAD_PRIORITY, 20);
|
||||||
|
|
Loading…
Reference in New Issue