Skip to content

Commit a74270d

Browse files
committed
Cordio: add missing timer.start() in BLE thread loop
1 parent ac85dae commit a74270d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utility/HCICordioTransport.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ static void bleLoop()
111111
uint64_t last_update_us = 0;
112112
mbed::LowPowerTimer timer;
113113

114+
timer.start();
115+
114116
while (true) {
115117
last_update_us += (uint64_t) timer.read_high_resolution_us();
116118
timer.reset();

0 commit comments

Comments
 (0)