Fix compile when PPP is not enabled - Macro MEMP_NUM_PPP_PCB always needs to be #defined

This commit is contained in:
Dirk Ziegelmeier 2016-04-25 22:24:33 +02:00
parent 2b5250dd9d
commit 7d77a52ea5

View File

@ -72,8 +72,6 @@
#define LWIP_PPP_API (PPP_SUPPORT && (NO_SYS == 0))
#endif
#if PPP_SUPPORT
/**
* MEMP_NUM_PPP_PCB: the number of simultaneously active PPP
* connections (requires the PPP_SUPPORT option)
@ -82,6 +80,8 @@
#define MEMP_NUM_PPP_PCB 1
#endif
#if PPP_SUPPORT
/**
* MEMP_NUM_PPPOS_INTERFACES: the number of concurrently active PPPoS
* interfaces (only used with PPPOS_SUPPORT==1)