mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Revert change in stack setup initialisation.
While good this change breaks some old application that were adding GATT services before the initialisation of BLE. This patch revert temporarily this change for nowpull/8998/head
parent
1c201b4628
commit
d9d4a214b8
|
|
@ -100,7 +100,7 @@ BLE::BLE(CordioHCIDriver& hci_driver) :
|
|||
_last_update_us(0)
|
||||
{
|
||||
_hci_driver = &hci_driver;
|
||||
|
||||
stack_setup();
|
||||
}
|
||||
|
||||
BLE::~BLE() { }
|
||||
|
|
@ -393,7 +393,6 @@ void BLE::stack_setup()
|
|||
void BLE::start_stack_reset()
|
||||
{
|
||||
_hci_driver->initialize();
|
||||
stack_setup();
|
||||
DmDevReset();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue