From 9f6cb5966d4bc106ad54eada3a3549d96084e85a Mon Sep 17 00:00:00 2001 From: equation314 Date: Sat, 5 Oct 2019 13:00:47 +0800 Subject: [PATCH] Fix typo --- kernel/src/arch/aarch64/board/raspi3/timer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/arch/aarch64/board/raspi3/timer.rs b/kernel/src/arch/aarch64/board/raspi3/timer.rs index 6e793bea..d137513a 100644 --- a/kernel/src/arch/aarch64/board/raspi3/timer.rs +++ b/kernel/src/arch/aarch64/board/raspi3/timer.rs @@ -9,7 +9,7 @@ pub fn init() { info!("timer: init end"); } -/// Set next timer interrupt to 10 ms from now. +/// Returns the current time in microseconds. pub fn get_cycle() -> u64 { Timer::new().read() }