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
parent 2697b3c7da
commit 55011e5308
2 changed files with 6 additions and 5 deletions

View File

@ -44,6 +44,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

@ -1045,14 +1045,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