mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
Remove stale code, fix comment styling
This commit is contained in:
parent
d8c9476372
commit
d06cf91acc
24 changed files with 45 additions and 617 deletions
|
|
@ -28,7 +28,7 @@ where
|
|||
F: FnOnce(),
|
||||
{
|
||||
if priority == 1 {
|
||||
// if the priority of this interrupt is `1` then BASEPRI can only be `0`
|
||||
// If the priority of this interrupt is `1` then BASEPRI can only be `0`
|
||||
f();
|
||||
unsafe { basepri::write(0) }
|
||||
} else {
|
||||
|
|
@ -80,7 +80,7 @@ impl Priority {
|
|||
}
|
||||
}
|
||||
|
||||
// these two methods are used by `lock` (see below) but can't be used from the RTIC application
|
||||
// These two methods are used by `lock` (see below) but can't be used from the RTIC application
|
||||
#[inline(always)]
|
||||
fn set(&self, value: u8) {
|
||||
self.inner.set(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue