[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-members] debug.h
From: |
Florian Schulze |
Subject: |
Re: [lwip-members] debug.h |
Date: |
Sun, 3 Nov 2002 09:18:10 +0100 (Westeuropäische Normalzeit) |
On 02 Nov 2002 22:32:48 +0100 Adam Dunkels <address@hidden> wrote:
> Hi!
>
> 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.
Florian