mirror of https://github.com/ARMmbed/mbed-os.git
Code tidy
parent
562a548053
commit
ed8b378c6e
|
@ -102,7 +102,7 @@ static int time_cpu_cycles(uint32_t cycles)
|
|||
int timer_start = timer.read_us();
|
||||
|
||||
volatile uint32_t delay = (volatile uint32_t)cycles;
|
||||
delay_loop(delay);
|
||||
delay_loop(delay);
|
||||
int timer_end = timer.read_us();
|
||||
|
||||
timer.stop();
|
||||
|
|
Loading…
Reference in New Issue