diff options
author | 2017-04-21 08:38:30 -0500 | |
---|---|---|
committer | 2017-04-21 08:38:30 -0500 | |
commit | 854939fc6b523479a7540d8ac9d0933d9c3dcb78 (patch) | |
tree | cde1724e9255f83a177c8224ca2ad701fe5f4ad1 | |
parent | 4992db78777c408a545a787e43450d4947144550 (diff) | |
download | rtic-854939fc6b523479a7540d8ac9d0933d9c3dcb78.tar.gz rtic-854939fc6b523479a7540d8ac9d0933d9c3dcb78.tar.zst rtic-854939fc6b523479a7540d8ac9d0933d9c3dcb78.zip |
rename "system ceiling" to "current ceiling"
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 3 insertions, 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()) } |