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>
This commit is contained in:
Kevin O'Connor
2016-06-01 12:04:01 -04:00
parent d68cb264c4
commit ed103822f5
7 changed files with 16 additions and 16 deletions

View File

@@ -17,7 +17,7 @@ uint8_t Interrupt_off;
****************************************************************/
uint32_t
timer_from_ms(uint32_t ms)
timer_from_us(uint32_t us)
{
return 0; // XXX
}

View File

@@ -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);