From ed103822f5501f08c5d23216a1a505dbdd163f6c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 1 Jun 2016 12:04:01 -0400 Subject: sched: Change sched_from_ms() to sched_from_us() Some code may require micro-second precision so update sched_from_ms() to use micro-seconds. Signed-off-by: Kevin O'Connor --- src/simulator/timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/simulator/timer.h') diff --git a/src/simulator/timer.h b/src/simulator/timer.h index f35b8278..71b64502 100644 --- a/src/simulator/timer.h +++ b/src/simulator/timer.h @@ -3,7 +3,7 @@ #include -uint32_t timer_from_ms(uint32_t ms); +uint32_t timer_from_us(uint32_t us); void timer_periodic(void); uint32_t timer_read_time(void); uint8_t timer_set_next(uint32_t next); -- cgit v1.2.3-70-g09d2