File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 30
30
#include " ble/pal/ConnectionEventMonitor.h"
31
31
#include " ble/pal/Deprecated.h"
32
32
33
- #include " drivers/Timeout.h"
33
+ #include " drivers/LowPowerTimeout.h"
34
+ #include " drivers/LowPowerTicker.h"
34
35
#include " platform/mbed_error.h"
35
36
36
37
namespace ble {
@@ -802,9 +803,9 @@ class GenericGap :
802
803
bool _random_address_rotating;
803
804
804
805
bool _scan_enabled;
805
- mbed::Timeout _advertising_timeout;
806
- mbed::Timeout _scan_timeout;
807
- mbed::Ticker _address_rotation_ticker;
806
+ mbed::LowPowerTimeout _advertising_timeout;
807
+ mbed::LowPowerTimeout _scan_timeout;
808
+ mbed::LowPowerTicker _address_rotation_ticker;
808
809
809
810
template <size_t bit_size>
810
811
struct BitArray {
Original file line number Diff line number Diff line change 31
31
#include " ble/generic/GenericGap.h"
32
32
#include " ble/generic/GenericSecurityManager.h"
33
33
#include " SimpleEventQueue.h"
34
- #include " Timer .h"
34
+ #include " drivers/LowPowerTimer .h"
35
35
#include " SigningMonitorProxy.h"
36
36
#include " CordioPalSecurityManager.h"
37
37
#include " BleImplementationForward.h"
@@ -171,7 +171,7 @@ class BLE : public ::BLEInstanceBase {
171
171
172
172
::BLE::InstanceID_t instanceID;
173
173
mutable SimpleEventQueue _event_queue;
174
- mbed::Timer _timer;
174
+ mbed::LowPowerTimer _timer;
175
175
uint64_t _last_update_us;
176
176
};
177
177
You can’t perform that action at this time.
0 commit comments