[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-members] debug.h
From: |
Adam Dunkels |
Subject: |
Re: [lwip-members] debug.h |
Date: |
03 Nov 2002 13:37:51 +0100 |
Hi!
On Sun, 2002-11-03 at 09:18, Florian Schulze wrote:
> > The current debug.h stuff is quite a mess and should really be changed
> > so that lwipopts.h would contain the debug controlling #defines instead
> > of a core lwip file. What do you guys think about something like this:
> >
> > The debug.h file is changed so that each #define will look like this:
> >
> > #ifndef ETHARP_DEGUG
> > #define ETHARP_DEBUG 0
> > #endif
> >
> > Then the lwipopts.h file can contain statements like:
> >
> > #define ETHARP_DEBUG 1
> >
> > Any comments?
>
> Maybe a small comment in lwipopts.h which says where to look for the
> available debug flags. Besides that, I vote for this change.
Good point about lwipopts.h. Ok, I'll commit this now.
/adam
--
Adam Dunkels <address@hidden>
http://dunkels.com/adam/