mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-02-07 19:34:18 +08:00
minor fix
This commit is contained in:
parent
61ba7b76da
commit
1e5377cdd1
@ -255,10 +255,7 @@ void delay_ms(uint32_t wMs)
|
||||
lMs -= iCompensate;
|
||||
|
||||
lMs += get_system_ticks();
|
||||
do {
|
||||
observer = get_system_ticks();
|
||||
} while(observer < lMs);
|
||||
//while(get_system_ticks() < lUs);
|
||||
while(get_system_ticks() < lMs);
|
||||
}
|
||||
|
||||
__attribute__((noinline))
|
||||
|
Loading…
x
Reference in New Issue
Block a user