Skip to content

Commit

Permalink
fixed usleep() argument
Browse files Browse the repository at this point in the history
  • Loading branch information
raicool committed Aug 18, 2023
1 parent 2a3ec36 commit f0e6ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,6 @@ inline void process_sleep(uint32_t ms)
Sleep(ms);
#endif
#ifdef __LINUX__
usleep(ms / 1000);
usleep(ms * 1000);
#endif
}

0 comments on commit f0e6ce2

Please sign in to comment.