增加rt_strnlen,lua采用单独的线程

This commit is contained in:
zhangjun 2016-08-12 22:19:52 +08:00
parent 65ac4a0810
commit c9591f825c
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ void finsh_lua(struct para *parameters)
rx_indicate = dev4lua.device->rx_indicate;
/* set new rx_indicate */
//rt_device_set_rx_indicate(dev4lua.device, lua_rx_ind);
rt_device_set_rx_indicate(dev4lua.device, lua_rx_ind);
{
int argc = parameters->argc;
@ -149,7 +149,7 @@ static void lua_msh(int argc, char **argv)
(void (*)(void *))(finsh_lua),
(void*)parameters,
10240,
rt_thread_self()->current_priority - 1,
rt_thread_self()->current_priority + 1,
20);
if (lua_thread != RT_NULL)
{