mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-29 15:04:32 +01:00
rename "system ceiling" to "current ceiling"
This commit is contained in:
parent
4992db7877
commit
854939fc6b
1 changed files with 3 additions and 3 deletions
|
@ -521,13 +521,13 @@ where
|
|||
|
||||
impl<Periph, CEILING> Peripheral<Periph, C<CEILING>> {
|
||||
/// See [Resource.borrow](./struct.Resource.html#method.borrow)
|
||||
pub fn borrow<'cs, PRIORITY, SCEILING>(
|
||||
pub fn borrow<'cs, PRIORITY, CCEILING>(
|
||||
&'static self,
|
||||
_priority: &P<PRIORITY>,
|
||||
_current_ceiling: &'cs C<SCEILING>,
|
||||
_current_ceiling: &'cs C<CCEILING>,
|
||||
) -> Ref<'cs, Periph>
|
||||
where
|
||||
SCEILING: GreaterThanOrEqual<CEILING>,
|
||||
CCEILING: GreaterThanOrEqual<CEILING>,
|
||||
CEILING: GreaterThanOrEqual<PRIORITY>,
|
||||
{
|
||||
unsafe { Ref::new(&*self.peripheral.get()) }
|
||||
|
|
Loading…
Reference in a new issue