Skip to content

Commit ef08465

Browse files
pan-Cruz Monrreal II
authored andcommitted
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 now
1 parent 56ab748 commit ef08465

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ BLE::BLE(CordioHCIDriver& hci_driver) :
100100
_last_update_us(0)
101101
{
102102
_hci_driver = &hci_driver;
103-
103+
stack_setup();
104104
}
105105

106106
BLE::~BLE() { }
@@ -400,7 +400,6 @@ void BLE::stack_setup()
400400
void BLE::start_stack_reset()
401401
{
402402
_hci_driver->initialize();
403-
stack_setup();
404403
DmDevReset();
405404
}
406405

0 commit comments

Comments
 (0)