mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-23 18:39:52 +00:00
l2cap: fix compile
This commit is contained in:
parent
188c56a58d
commit
6aa7d7949b
@ -1834,7 +1834,10 @@ static int l2cap_send_open_failed_on_hci_disconnect(l2cap_channel_t * channel){
|
||||
case L2CAP_STATE_INVALID:
|
||||
case L2CAP_STATE_WAIT_INCOMING_SECURITY_LEVEL_UPDATE:
|
||||
return 0;
|
||||
// no default here, to get a warning about new states
|
||||
}
|
||||
// still, the compiler insists on a return value
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void l2cap_handle_hci_disconnect_event(l2cap_channel_t * channel){
|
||||
|
Loading…
x
Reference in New Issue
Block a user