diff --git a/features/FEATURE_BLE/ble/generic/GenericGap.h b/features/FEATURE_BLE/ble/generic/GenericGap.h index d4531f7dbc..4a8961f691 100644 --- a/features/FEATURE_BLE/ble/generic/GenericGap.h +++ b/features/FEATURE_BLE/ble/generic/GenericGap.h @@ -30,7 +30,8 @@ #include "ble/pal/ConnectionEventMonitor.h" #include "ble/pal/Deprecated.h" -#include "drivers/Timeout.h" +#include "drivers/LowPowerTimeout.h" +#include "drivers/LowPowerTicker.h" #include "platform/mbed_error.h" namespace ble { @@ -802,9 +803,9 @@ private: bool _random_address_rotating; bool _scan_enabled; - mbed::Timeout _advertising_timeout; - mbed::Timeout _scan_timeout; - mbed::Ticker _address_rotation_ticker; + mbed::LowPowerTimeout _advertising_timeout; + mbed::LowPowerTimeout _scan_timeout; + mbed::LowPowerTicker _address_rotation_ticker; template struct BitArray {