Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Sep 4, 2024
1 parent 38b94c3 commit f6e1af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-hal/src/clock/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ impl Clocks {
/// Returns the xtal frequency.
///
/// This function will run the frequency estimation if called before
/// [`esp_hal::init()`].
/// [`crate::init()`].
pub fn xtal_freq() -> HertzU32 {
if let Some(clocks) = Self::try_get() {
clocks.xtal_clock
Expand Down

0 comments on commit f6e1af5

Please sign in to comment.