aboutsummaryrefslogtreecommitdiffstats
path: root/src/sched.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/sched.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/sched.h')
-rw-r--r--src/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched.h b/src/sched.h
index 047ac1ce..be73ce65 100644
--- a/src/sched.h
+++ b/src/sched.h
@@ -23,7 +23,7 @@ enum { SF_DONE=0, SF_RESCHEDULE=1 };
// sched.c
uint8_t sched_check_periodic(uint16_t time, uint16_t *pnext);
-uint32_t sched_from_ms(uint32_t ms);
+uint32_t sched_from_us(uint32_t us);
uint32_t sched_read_time(void);
uint8_t sched_is_before(uint32_t time1, uint32_t time2);
void sched_timer(struct timer*);