Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions connectivity/FEATURE_BLE/source/generic/GapImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,9 @@ Gap::Gap(
_advertising_timeout(),
_scan_timeout(),
_user_manage_connection_parameter_requests(false)
#if BLE_ROLE_OBSERVER
, _scan_parameters_set(false)
#endif // BLE_ROLE_OBSERVER
{
_pal_gap.initialize();

Expand Down
4 changes: 2 additions & 2 deletions connectivity/FEATURE_BLE/source/generic/GapImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -990,9 +990,9 @@ class Gap :
BitArray<BLE_GAP_MAX_ADVERTISING_SETS> _adv_started_from_refresh;


bool _user_manage_connection_parameter_requests : 1;
bool _user_manage_connection_parameter_requests;
#if BLE_ROLE_OBSERVER
bool _scan_parameters_set : 1 = false;
bool _scan_parameters_set;
#endif // BLE_ROLE_OBSERVER

};
Expand Down