aboutsummaryrefslogtreecommitdiffstats
path: root/src/simulator/timer.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-06-01 12:04:01 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-06-02 17:52:11 -0400
commited103822f5501f08c5d23216a1a505dbdd163f6c (patch)
tree17363ef740f2328076282e226539ffa85adc19e6 /src/simulator/timer.h
parentd68cb264c421be687c53066df91c7ffb661ab2d9 (diff)
downloadkutter-ed103822f5501f08c5d23216a1a505dbdd163f6c.tar.gz
kutter-ed103822f5501f08c5d23216a1a505dbdd163f6c.tar.xz
kutter-ed103822f5501f08c5d23216a1a505dbdd163f6c.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'src/simulator/timer.h')
-rw-r--r--src/simulator/timer.h2
1 files changed, 1 insertions, 1 deletions
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 <stdint.h>
-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);