Skip to content

Commit

Permalink
fix: docs missed in riscv_goldfish
Browse files Browse the repository at this point in the history
  • Loading branch information
hky1999 committed Jul 13, 2024
1 parent ca2f94d commit 77f688c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/riscv_goldfish/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl Rtc {
Rtc { base_address }
}

// Returns the current time in seconds since UNIX epoch.
/// Returns the current time in seconds since UNIX epoch.
pub fn get_unix_timestamp(&self) -> u64 {
const NSEC_PER_SEC: u64 = 1_000_000_000;

Expand Down

0 comments on commit 77f688c

Please sign in to comment.