From f5d331f931b0a676f1bc4a100b89614aa310811e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Tue, 3 Sep 2024 13:23:27 +0200 Subject: [PATCH] Fix doc --- esp-hal/src/clock/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-hal/src/clock/mod.rs b/esp-hal/src/clock/mod.rs index 8e07a116043..9a0eeb84f09 100644 --- a/esp-hal/src/clock/mod.rs +++ b/esp-hal/src/clock/mod.rs @@ -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