mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
avoid warning
This commit is contained in:
parent
ae1fd9f36e
commit
5caae01d5e
@ -419,12 +419,15 @@ static int rfcomm_multiplexer_has_channels(rfcomm_multiplexer_t * multiplexer){
|
||||
// MARK: RFCOMM CHANNEL HELPER
|
||||
|
||||
static void rfcomm_dump_channels(void){
|
||||
#ifndef EMBEDDED
|
||||
linked_item_t * it;
|
||||
int channels = 0;
|
||||
for (it = (linked_item_t *) rfcomm_channels; it ; it = it->next){
|
||||
rfcomm_channel_t * channel = (rfcomm_channel_t *) it;
|
||||
log_dbg("Channel #%u: addr %p, state %u\n", channels++, channel, channel->state);
|
||||
}
|
||||
log_dbg("Channel #%u: addr %p, state %u\n", 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