aboutsummaryrefslogtreecommitdiff
path: root/examples/not-sync.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-10-23 22:03:08 +0000
committerGitHub <noreply@github.com>2020-10-23 22:03:08 +0000
commit4f4c95be40019f6656d4eee549932ee811a40116 (patch)
tree092cede9ccdaa9b7a4381f7c369db79583d7eb8b /examples/not-sync.rs
parentbbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b (diff)
parent1c244a995d54332649c1643aa0a3178f169406e4 (diff)
Merge #400
400: codegen and examples r=AfoHT a=perlindgren just a test Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
Diffstat (limited to 'examples/not-sync.rs')
-rw-r--r--examples/not-sync.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/examples/not-sync.rs b/examples/not-sync.rs
index d2616ee..21c316a 100644
--- a/examples/not-sync.rs
+++ b/examples/not-sync.rs
@@ -12,7 +12,7 @@ pub struct NotSync {
_0: PhantomData<*const ()>,
}
-#[rtic::app(device = lm3s6965)]
+#[rtic::app(device = lm3s6965, dispatchers = [SSI0])]
mod app {
use super::NotSync;
use core::marker::PhantomData;
@@ -40,11 +40,4 @@ mod app {
fn bar(c: bar::Context) {
let _: &NotSync = c.resources.shared;
}
-
- // RTIC requires that unused interrupts are declared in an extern block when
- // using software tasks; these free interrupts will be used to dispatch the
- // software tasks.
- extern "C" {
- fn SSI0();
- }
}