From 64f0c56df5dfe6559fc7ea08bab2b99c90985b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Tue, 17 Dec 2024 09:54:48 +0100 Subject: [PATCH] Hide private function --- esp-hal-embassy/src/timer_queue.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-hal-embassy/src/timer_queue.rs b/esp-hal-embassy/src/timer_queue.rs index 6dc387ee62..67e0354984 100644 --- a/esp-hal-embassy/src/timer_queue.rs +++ b/esp-hal-embassy/src/timer_queue.rs @@ -47,7 +47,7 @@ impl TimerQueue { core::ptr::null_mut() } - pub fn alarm(&self) -> AlarmHandle { + fn alarm(&self) -> AlarmHandle { unsafe { let alarm = &mut *self.alarm.get(); *alarm.get_or_insert_with(|| set_up_alarm(self.priority, self.context()))