mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 19:20:54 +00:00
esp32: register vhci callback after enabling controller
This commit is contained in:
parent
761810140b
commit
f83e233b86
@ -241,7 +241,6 @@ static int transport_open(void){
|
||||
return -1;
|
||||
}
|
||||
|
||||
esp_vhci_host_register_callback(&vhci_host_cb);
|
||||
}
|
||||
|
||||
// Enable classic mode by default
|
||||
@ -261,6 +260,8 @@ static int transport_open(void){
|
||||
return -1;
|
||||
}
|
||||
|
||||
esp_vhci_host_register_callback(&vhci_host_cb);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user