Skip to content

Commit

Permalink
Hide private function
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Dec 17, 2024
1 parent 880e770 commit 64f0c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-hal-embassy/src/timer_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 64f0c56

Please sign in to comment.