Skip to content

Commit

Permalink
Merge pull request tock#3935 from wprzytula/re-export-interrupt-mask
Browse files Browse the repository at this point in the history
arch/cortex-m3: re-export interrupt mask
  • Loading branch information
alevy authored Mar 23, 2024
2 parents 6179d3a + 0a33e7a commit 22ddb0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/cortex-m3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub mod mpu {
}

pub use cortexm::initialize_ram_jump_to_main;
pub use cortexm::interrupt_mask;
pub use cortexm::nvic;
pub use cortexm::scb;
pub use cortexm::support;
Expand Down
2 changes: 1 addition & 1 deletion kernel/src/hil/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub trait Ticks: Clone + Copy + From<u32> + fmt::Debug + Ord + PartialOrd + Eq {
/// Returns the half the maximum value of this type, which should be (2^width-1).
fn half_max_value() -> Self;

/// Coverts the specified val into this type if it fits otherwise the
/// Converts the specified val into this type if it fits otherwise the
/// `max_value()` is returned
fn from_or_max(val: u64) -> Self;

Expand Down

0 comments on commit 22ddb0b

Please sign in to comment.