mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
examples/*: replace #if ENABLE_DEBUG with IS_ACTIVE
This commit is contained in:
parent
62994dfb16
commit
bf88a24fb4
@ -131,7 +131,7 @@ static int dtls_handle_read(dtls_context_t *ctx)
|
||||
|
||||
memcpy(&session.addr, &remote.addr.ipv6, sizeof(session.addr));
|
||||
|
||||
if (ENABLE_DEBUG) {
|
||||
if (IS_ACTIVE(ENABLE_DEBUG)) {
|
||||
DEBUG("DBG-Client: Msg received from \n\t Addr Src: [");
|
||||
ipv6_addr_print(&session.addr);
|
||||
DEBUG("]:%u\n", remote.port);
|
||||
|
Loading…
Reference in New Issue
Block a user