PPP, moved PPP_INPROC_MULTITHREADED compile time option from ppp.h to opt.h

This commit is contained in:
Sylvain Rochet 2013-04-26 21:55:30 +02:00
parent 2350d941a5
commit cf3162cff1
2 changed files with 9 additions and 8 deletions

View File

@ -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)
*/

View File

@ -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 ***