1
0
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:
Bas Stottelaar 2020-10-23 14:39:16 +02:00
parent 62994dfb16
commit bf88a24fb4

View File

@ -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);