mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-23 00:16:17 +04:00
Fix typo
This commit is contained in:
parent
6a7c72dbde
commit
9f6cb5966d
@ -9,7 +9,7 @@ pub fn init() {
|
|||||||
info!("timer: init end");
|
info!("timer: init end");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set next timer interrupt to 10 ms from now.
|
/// Returns the current time in microseconds.
|
||||||
pub fn get_cycle() -> u64 {
|
pub fn get_cycle() -> u64 {
|
||||||
Timer::new().read()
|
Timer::new().read()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user