mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-25 06:40:10 +00:00
rfcomm: enable rfcomm_dump_channels even if EMBEDDED
This commit is contained in:
parent
c2cd0082f9
commit
1f5f40f9ae
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user