aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-04-21 08:38:30 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-04-21 08:38:30 -0500
commit854939fc6b523479a7540d8ac9d0933d9c3dcb78 (patch)
treecde1724e9255f83a177c8224ca2ad701fe5f4ad1
parent4992db78777c408a545a787e43450d4947144550 (diff)
downloadrtic-854939fc6b523479a7540d8ac9d0933d9c3dcb78.tar.gz
rtic-854939fc6b523479a7540d8ac9d0933d9c3dcb78.tar.zst
rtic-854939fc6b523479a7540d8ac9d0933d9c3dcb78.zip
rename "system ceiling" to "current ceiling"
-rw-r--r--src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ad79850f..e4873ff6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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()) }