BLE: initialize properly deprecated and non deprecated flags.

pull/8738/head
Vincent Coubard 2018-11-26 15:23:24 +00:00
parent 3aa91ecbba
commit 93b6ecfa7e
1 changed files with 2 additions and 0 deletions

View File

@ -438,6 +438,8 @@ GenericGap::GenericGap(
_advertising_timeout(), _advertising_timeout(),
_scan_timeout(), _scan_timeout(),
_connection_event_handler(NULL), _connection_event_handler(NULL),
_deprecated_scan_api_used(false),
_non_deprecated_scan_api_used(false),
_user_manage_connection_parameter_requests(false) _user_manage_connection_parameter_requests(false)
{ {
_pal_gap.initialize(); _pal_gap.initialize();