Skip to content

Commit

Permalink
cpu/native: timer: fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Feb 23, 2021
1 parent 7eb159c commit 65093a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/native/periph/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static struct itimerval itv;
static unsigned long ts2ticks(struct timespec *tp)
{
/* TODO: check for overflow */
return(((unsigned long)tp->tv_sec * NATIVE_TIMER_SPEED) + (tp->tv_nsec / 1000));
return (((unsigned long)tp->tv_sec * NATIVE_TIMER_SPEED) + (tp->tv_nsec / 1000));
}

/**
Expand Down

0 comments on commit 65093a4

Please sign in to comment.