mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +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>> {
|
impl<Periph, CEILING> Peripheral<Periph, C<CEILING>> {
|
||||||
/// See [Resource.borrow](./struct.Resource.html#method.borrow)
|
/// See [Resource.borrow](./struct.Resource.html#method.borrow)
|
||||||
pub fn borrow<'cs, PRIORITY, SCEILING>(
|
pub fn borrow<'cs, PRIORITY, CCEILING>(
|
||||||
&'static self,
|
&'static self,
|
||||||
_priority: &P<PRIORITY>,
|
_priority: &P<PRIORITY>,
|
||||||
_current_ceiling: &'cs C<SCEILING>,
|
_current_ceiling: &'cs C<CCEILING>,
|
||||||
) -> Ref<'cs, Periph>
|
) -> Ref<'cs, Periph>
|
||||||
where
|
where
|
||||||
SCEILING: GreaterThanOrEqual<CEILING>,
|
CCEILING: GreaterThanOrEqual<CEILING>,
|
||||||
CEILING: GreaterThanOrEqual<PRIORITY>,
|
CEILING: GreaterThanOrEqual<PRIORITY>,
|
||||||
{
|
{
|
||||||
unsafe { Ref::new(&*self.peripheral.get()) }
|
unsafe { Ref::new(&*self.peripheral.get()) }
|
||||||
|
|
Loading…
Reference in a new issue