aboutsummaryrefslogtreecommitdiff
path: root/src/tq.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-09-04 07:50:13 +0000
committerGitHub <noreply@github.com>2020-09-04 07:50:13 +0000
commit7506bd8ae0ba335fc058c2138438fab5f20f6dab (patch)
treefe65b335b19171370bd6be0bd5cd6b776a1d6110 /src/tq.rs
parentc5e6d1fa49e3596227a8ee8fe89e2e4f66db3169 (diff)
parentad2b80907899cc335edcebfc77ae4b4b51272b87 (diff)
Merge #355
355: Multi-core removal r=korken89 a=AfoHT Dependent on https://github.com/rtic-rs/rtic-syntax/pull/27 With the same reasoning as ^^ For now the testing is done against my rtic-syntax/multiremove-branch, but before we merge it should corrected. Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to 'src/tq.rs')
-rw-r--r--src/tq.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tq.rs b/src/tq.rs
index 21beeb9..9300dbf 100644
--- a/src/tq.rs
+++ b/src/tq.rs
@@ -40,7 +40,7 @@ where
mem::transmute::<_, SYST>(()).enable_interrupt();
}
- // set SysTick pending
+ // Set SysTick pending
SCB::set_pendst();
}
@@ -79,13 +79,13 @@ where
};
mem::transmute::<_, SYST>(()).set_reload(dur);
- // start counting down from the new reload
+ // Start counting down from the new reload
mem::transmute::<_, SYST>(()).clear_current();
None
}
} else {
- // the queue is empty
+ // The queue is empty
mem::transmute::<_, SYST>(()).disable_interrupt();
None