<p></p>
<blockquote>
<blockquote>
<p>This allows for ENABLE_DEBUG to not be defined before including debug.h when the same behavior as #define ENABLE_DEBUG 0 is desired.</p>
</blockquote>
<blockquote>
<p>Removing a <code>#define ENABLE_DEBUG 0</code>, but not the <code>debug.h</code> should now be compilable.</p>
</blockquote>
<p>I think it was like that due to this:</p>
<p><a href="https://github.com/RIOT-OS/RIOT/pull/15365/files#diff-fa45c9a6099d12df1e96b263d7d9840d2fae684f3127857d7e44b7dcf2adcd23L67-L72">https://github.com/RIOT-OS/RIOT/pull/15365/files#diff-fa45c9a6099d12df1e96b263d7d9840d2fae684f3127857d7e44b7dcf2adcd23L67-L72</a></p>
</blockquote>
<p>Not really sure what you mean... Please rephrase.</p>
<blockquote>
<blockquote>
<p>why introduce the extra dependency when the goal (compile time checking) is met already?<br>
This is not replacing <code>#if DEFINE</code> with <code>if(DEFINE)</code>, it was already the latter, and the header made sure that ENABLE_DEBUG is always set.</p>
</blockquote>
<p>True</p>
</blockquote>
<p>Removed the <code>IS_ACTIVE()</code> changes, and thus this PR only removes the parenthesis around the <code>0</code> in the define.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/15365#issuecomment-721055828">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYHXRXS5SUTSCMNPLMLSN7RLZANCNFSM4TIR6UIQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYFZMK3EI4PF2J6K32DSN7RLZA5CNFSM4TIR6UI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFL5HAVA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/15365#issuecomment-721055828",
"url": "https://github.com/RIOT-OS/RIOT/pull/15365#issuecomment-721055828",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>