Skip to content

Commit

Permalink
User AROS field names
Browse files Browse the repository at this point in the history
  • Loading branch information
deadwood committed Dec 26, 2022
1 parent d476751 commit ea113fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MultiMedia/cdxlplay/usleep_aros.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void cleanup_usleep(void) {

int usleep(useconds_t usec) {
timer_io->tr_node.io_Command = TR_ADDREQUEST;
timer_io->tr_time.tv_sec = usec / 1000000UL;
timer_io->tr_time.tv_usec = usec % 1000000UL;
timer_io->tr_time.tv_secs = usec / 1000000UL;
timer_io->tr_time.tv_micro = usec % 1000000UL;
return DoIO(&timer_io->tr_node) ? -1 : 0;
}

0 comments on commit ea113fe

Please sign in to comment.