From 1f5f40f9ae3169feb7a89bd1999fb92b4cfa1434 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 21 Jan 2016 22:51:11 +0100 Subject: [PATCH] rfcomm: enable rfcomm_dump_channels even if EMBEDDED --- src/classic/rfcomm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/classic/rfcomm.c b/src/classic/rfcomm.c index f68d9b616..2cd89b7ce 100644 --- a/src/classic/rfcomm.c +++ b/src/classic/rfcomm.c @@ -281,7 +281,6 @@ static int rfcomm_multiplexer_has_channels(rfcomm_multiplexer_t * multiplexer){ // MARK: RFCOMM CHANNEL HELPER static void rfcomm_dump_channels(void){ -#ifndef EMBEDDED btstack_linked_item_t * it; int channels = 0; for (it = (btstack_linked_item_t *) rfcomm_channels; it ; it = it->next){ @@ -289,7 +288,6 @@ static void rfcomm_dump_channels(void){ log_info("Channel #%u: addr %p, state %u", channels, channel, channel->state); channels++; } -#endif } static void rfcomm_channel_initialize(rfcomm_channel_t *channel, rfcomm_multiplexer_t *multiplexer,