|
From: | Johannes Thumshirn |
Subject: | Re: [PATCH v3 4/4] wdt_z069: Add support for MEN 16z069 Watchdog |
Date: | Mon, 17 Apr 2023 09:30:18 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 |
On 17.04.23 07:04, Alistair Francis wrote:
+ +/* #define Z069_DEBUG 1 */ + +#ifdef Z069_DEBUG +#define z069_debug(fmt, ...) \ + fprintf(stderr, "wdt_z069: %s: "fmt, __func__, ##__VA_ARGS__) +#else +#define z069_debug(fmt, ...) +#endifSame comment from the previous versions about using traces instead of macro prints
Of cause, you're right. I'm stupid, sorry. Johannes
[Prev in Thread] | Current Thread | [Next in Thread] |