fixed bug #31809 LWIP_EVENT_API in opts.h is inconsistent compared to other options

This commit is contained in:
Simon Goldschmidt 2011-09-01 22:25:03 +02:00 committed by goldsimon
parent a030b741a5
commit adb2aeb10f
2 changed files with 6 additions and 5 deletions

View File

@ -24,6 +24,10 @@ HISTORY
++ Bugfixes: ++ Bugfixes:
2011-09-01: Simon Goldschmidt
* opt.h: fixed bug #31809 LWIP_EVENT_API in opts.h is inconsistent compared
to other options
2011-09-01: Simon Goldschmidt 2011-09-01: Simon Goldschmidt
* tcp_in.c: fixed bug #34111 RST for ACK to listening pcb has wrong seqno * tcp_in.c: fixed bug #34111 RST for ACK to listening pcb has wrong seqno

View File

@ -1034,14 +1034,11 @@
* LWIP_EVENT_API==1: The user defines lwip_tcp_event() to receive all * LWIP_EVENT_API==1: The user defines lwip_tcp_event() to receive all
* events (accept, sent, etc) that happen in the system. * events (accept, sent, etc) that happen in the system.
* LWIP_CALLBACK_API==1: The PCB callback function is called directly * LWIP_CALLBACK_API==1: The PCB callback function is called directly
* for the event. * for the event. This is the default.
*/ */
#ifndef LWIP_EVENT_API #if !defined(LWIP_EVENT_API) && !defined(LWIP_CALLBACK_API)
#define LWIP_EVENT_API 0 #define LWIP_EVENT_API 0
#define LWIP_CALLBACK_API 1 #define LWIP_CALLBACK_API 1
#else
#define LWIP_EVENT_API 1
#define LWIP_CALLBACK_API 0
#endif #endif