libsys: fix micro_delay()
This commit is contained in:
parent
2cde22ee10
commit
c4928b2df9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue