rename "system ceiling" to "current ceiling"

This commit is contained in:
Jorge Aparicio 2017-04-21 08:38:30 -05:00
parent 4992db7877
commit 854939fc6b

View file

@ -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()) }