mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-05 17:28:02 +00:00
PPP, moved PPP_INPROC_MULTITHREADED compile time option from ppp.h to opt.h
This commit is contained in:
parent
2350d941a5
commit
cf3162cff1
@ -1700,6 +1700,15 @@
|
||||
|
||||
#if PPP_SUPPORT
|
||||
|
||||
/**
|
||||
* PPP_INPROC_MULTITHREADED==1 call ppp_input() using tcpip_callback().
|
||||
* Set this to 0 if pppos_input() is called inside tcpip_thread or with NO_SYS==1.
|
||||
* Default is 1 for NO_SYS==0 (multithreaded) and 0 for NO_SYS==1 (single-threaded).
|
||||
*/
|
||||
#ifndef PPP_INPROC_MULTITHREADED
|
||||
#define PPP_INPROC_MULTITHREADED (NO_SYS==0)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LWIP_PPP_API==1: Support PPP API (in pppapi.c)
|
||||
*/
|
||||
|
@ -50,14 +50,6 @@
|
||||
|
||||
#include "vj.h"
|
||||
|
||||
/** PPP_INPROC_MULTITHREADED==1 call pppos_input using tcpip_callback().
|
||||
* Set this to 0 if pppos_input is called inside tcpip_thread or with NO_SYS==1.
|
||||
* Default is 1 for NO_SYS==0 (multithreaded) and 0 for NO_SYS==1 (single-threaded).
|
||||
*/
|
||||
#ifndef PPP_INPROC_MULTITHREADED
|
||||
#define PPP_INPROC_MULTITHREADED (NO_SYS==0)
|
||||
#endif
|
||||
|
||||
|
||||
/*************************
|
||||
*** PUBLIC DEFINITIONS ***
|
||||
|
Loading…
Reference in New Issue
Block a user