Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Jan 22, 2024
1 parent 61ba7b7 commit 1e5377c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 1e5377c

Please sign in to comment.