aboutsummaryrefslogtreecommitdiff
path: root/examples/double_schedule.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-10-23 22:03:08 +0000
committerGravatar GitHub <noreply@github.com> 2020-10-23 22:03:08 +0000
commit4f4c95be40019f6656d4eee549932ee811a40116 (patch)
tree092cede9ccdaa9b7a4381f7c369db79583d7eb8b /examples/double_schedule.rs
parentbbcae14e37c5f4ab5701b2a688bee52bfa7aaa1b (diff)
parent1c244a995d54332649c1643aa0a3178f169406e4 (diff)
downloadrtic-4f4c95be40019f6656d4eee549932ee811a40116.tar.gz
rtic-4f4c95be40019f6656d4eee549932ee811a40116.tar.zst
rtic-4f4c95be40019f6656d4eee549932ee811a40116.zip
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/double_schedule.rs')
-rw-r--r--examples/double_schedule.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/double_schedule.rs b/examples/double_schedule.rs
index 78eaac49..32477efe 100644
--- a/examples/double_schedule.rs
+++ b/examples/double_schedule.rs
@@ -7,7 +7,7 @@
use panic_semihosting as _;
-#[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT)]
+#[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT, dispatchers = [SSI0])]
mod app {
use rtic::cyccnt::U32Ext;
@@ -32,8 +32,4 @@ mod app {
fn task2(_cx: task2::Context) {
task1::schedule(_cx.scheduled + 100.cycles()).ok();
}
-
- extern "C" {
- fn SSI0();
- }
}