mirror of https://github.com/ARMmbed/mbed-os.git
avoid init in header for compatibility
parent
331473a706
commit
172e9697da
|
@ -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();
|
||||
|
||||
|
|
|
@ -992,7 +992,7 @@ private:
|
|||
|
||||
bool _user_manage_connection_parameter_requests : 1;
|
||||
#if BLE_ROLE_OBSERVER
|
||||
bool _scan_parameters_set : 1 = false;
|
||||
bool _scan_parameters_set : 1;
|
||||
#endif // BLE_ROLE_OBSERVER
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue