|
From: | Bill Auerbach |
Subject: | [lwip-devel] opt.h - LWIP_EVENT_API |
Date: | Mon, 6 Dec 2010 09:45:14 -0500 |
This option behaves differently from the others. I would think in lwipopts.h I could use either
#define LWIP_EVENT_API 0
Or
#define LWIP_EVENT_API 1
To choose the event/callback mode. If I use the former this code in opts.h wants to change it back
#ifndef LWIP_EVENT_API
#define LWIP_EVENT_API 0
#define LWIP_CALLBACK_API 1
#else
#define LWIP_EVENT_API 1
#define LWIP_CALLBACK_API 0
#endif
The comment says:
* LWIP_EVENT_API and LWIP_CALLBACK_API: Only one of these should be set to 1.
Which implies not explicitly setting it to 0, but I don’t think I see any options that don’t allow a 0 for off and a 1 for on. This one is “No define for off” and “Define 1 for on”. Seems inconsistent to me.
Thanks,
Bill
[Prev in Thread] | Current Thread | [Next in Thread] |