【修改】还原 at_net_init 线程启动配置方式改动

Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
chenyong 2018-08-22 14:52:06 +08:00
parent fd73cf6e7d
commit fe2bb3d4d6
2 changed files with 2 additions and 2 deletions

View File

@ -601,7 +601,7 @@ __exit:
int esp8266_net_init(void)
{
#ifdef AT_DEVICE_INIT_BY_THREAD
#ifdef PKG_AT_INIT_BY_THREAD
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);

View File

@ -780,7 +780,7 @@ __exit:
int m26_net_init(void)
{
#ifdef AT_DEVICE_INIT_BY_THREAD
#ifdef PKG_AT_INIT_BY_THREAD
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);