libsys: fix micro_delay()

This commit is contained in:
David van Moolenbroek 2011-04-08 16:57:44 +00:00
parent 2cde22ee10
commit c4928b2df9

View file

@ -62,7 +62,7 @@ micro_delay(u32_t micros)
CALIBRATE;
/* We have to know when to end the delay. */
end = add64(now, mul64u(micros, calib_mhz * 1000));
end = add64(now, mul64u(micros, calib_mhz));
/* If we have to wait for at least one HZ tick, use the regular
* tickdelay first. Round downwards on purpose, so the average