aboutsummaryrefslogtreecommitdiff
path: root/macros/src/tests/single.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 /macros/src/tests/single.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 'macros/src/tests/single.rs')
-rw-r--r--macros/src/tests/single.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/tests/single.rs b/macros/src/tests/single.rs
index 497d1da..d669388 100644
--- a/macros/src/tests/single.rs
+++ b/macros/src/tests/single.rs
@@ -15,7 +15,7 @@ fn analyze() {
#[task(priority = 2)]
fn b(_: b::Context) {}
- // first interrupt is assigned to the highest priority dispatcher
+ // First interrupt is assigned to the highest priority dispatcher
extern "C" {
fn B();
fn A();
@@ -27,7 +27,7 @@ fn analyze() {
.unwrap();
let analysis = crate::analyze::app(analysis, &app);
- let interrupts = &analysis.interrupts[&0];
+ let interrupts = &analysis.interrupts;
assert_eq!(interrupts.len(), 2);
assert_eq!(interrupts[&2].to_string(), "B");
assert_eq!(interrupts[&1].to_string(), "A");