Fix timer code.

This commit is contained in:
Greg Watson 2003-06-06 14:44:13 +00:00
parent acb11fd1f2
commit 1a900329b0

View file

@ -7,13 +7,13 @@
unsigned get_hz(void)
{
return bsp_clock_speed() >> 16;
return bsp_clock_speed();
}
unsigned ticks_since_boot(void)
{
extern unsigned long long _timebase(void);
return (unsigned) (_timebase() >> 16);
return (unsigned) (_timebase());
}
void sleep_ticks(unsigned ticks)