Dear reflecting IOTlers,
some time ago Martine proposed to move the `ENABLE_DEBUG` macro from file to
module context [1]. Since this would effect the whole RIOT printf debugging, I
would like to call on the mailing list if someone thinks that this would be a
bad idea.
Cheers,
Oleg
[1] https://github.com/RIOT-OS/RIOT/pull/2632
Hi,
just to add my rational to the discussion: I don’t like that I have to edit files to activate debugging messages (and potentially adding the change to my PR by accident). My PR eliminates - but does not prohibit (one can still add the #define ENABLE_DEBUG (1)
before the debug.h include) - the need for that.
Cheers,
Martine
You still can enable debugging on a per file base.
Cheers,
Ludwig