Skip to content

Commit

Permalink
fix(scheduler): make PerCoreScheduler::scheduler private
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Sep 13, 2023
1 parent 027aa40 commit d7ba6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scheduler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ impl PerCoreScheduler {

/// Triggers the scheduler to reschedule the tasks.
/// Interrupt flag must be cleared before calling this function.
pub fn scheduler(&mut self) -> Option<*mut usize> {
fn scheduler(&mut self) -> Option<*mut usize> {
// run background tasks
crate::executor::run();

Expand Down

0 comments on commit d7ba6e4

Please sign in to comment.