mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-23 18:39:52 +00:00
bnep: update deinit function
This commit is contained in:
parent
65bd7af57b
commit
ed47fef431
@ -1590,12 +1590,13 @@ static void bnep_handle_can_send_now(uint16_t l2cap_cid){
|
||||
/* BNEP BTStack API */
|
||||
void bnep_init(void)
|
||||
{
|
||||
bnep_services = NULL;
|
||||
bnep_channels = NULL;
|
||||
bnep_security_level = gap_get_security_level();
|
||||
}
|
||||
|
||||
void bnep_deinit(void){
|
||||
bnep_services = NULL;
|
||||
bnep_channels = NULL;
|
||||
bnep_security_level = 0;
|
||||
}
|
||||
|
||||
void bnep_set_required_security_level(gap_security_level_t security_level)
|
||||
|
Loading…
x
Reference in New Issue
Block a user