mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-08 00:23:39 +08:00
Add priority argument to thread sys_thread_new.Patch from floriZ but slightly modfied
This commit is contained in:
@@ -212,6 +212,6 @@ slipif_init(struct netif *netif)
|
||||
if (!netif->state)
|
||||
return ERR_IF;
|
||||
|
||||
sys_thread_new(slipif_loop, netif);
|
||||
sys_thread_new(slipif_loop, netif, SLIPIF_THREAD_PRIO);
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user