From 165732938f60af5fd319c91abdf85477ef254bfa Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Thu, 7 Mar 2019 16:45:46 +0000 Subject: [PATCH] BLE - Use LowPowerTimer instead of Timer in the Cordio stack. --- features/FEATURE_BLE/targets/TARGET_CORDIO/CordioBLE.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/CordioBLE.h b/features/FEATURE_BLE/targets/TARGET_CORDIO/CordioBLE.h index ef184ac53d..fefe742f2e 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/CordioBLE.h +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/CordioBLE.h @@ -31,7 +31,7 @@ #include "ble/generic/GenericGap.h" #include "ble/generic/GenericSecurityManager.h" #include "SimpleEventQueue.h" -#include "Timer.h" +#include "drivers/LowPowerTimer.h" #include "SigningMonitorProxy.h" #include "CordioPalSecurityManager.h" #include "BleImplementationForward.h" @@ -171,7 +171,7 @@ private: ::BLE::InstanceID_t instanceID; mutable SimpleEventQueue _event_queue; - mbed::Timer _timer; + mbed::LowPowerTimer _timer; uint64_t _last_update_us; };