We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 685af00 commit 0a3cd69Copy full SHA for 0a3cd69
connectivity/FEATURE_BLE/source/generic/GapImpl.cpp
@@ -2333,13 +2333,14 @@ void Gap::on_enhanced_connection_complete(
2333
clock_accuracy_t master_clock_accuracy
2334
)
2335
{
2336
+ if (own_role == connection_role_t::CENTRAL) {
2337
+ _initiating = false;
2338
+ }
2339
+
2340
if (!_event_handler) {
2341
return;
2342
}
2343
- if (own_role == connection_role_t::CENTRAL) {
- _initiating = false;
- }
2344
2345
_event_handler->onConnectionComplete(
2346
ConnectionCompleteEvent(
0 commit comments