From 1c244a995d54332649c1643aa0a3178f169406e4 Mon Sep 17 00:00:00 2001 From: Per Lindgren Date: Fri, 23 Oct 2020 10:35:56 +0200 Subject: move dispatchers to app argument --- examples/double_schedule.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'examples/double_schedule.rs') diff --git a/examples/double_schedule.rs b/examples/double_schedule.rs index 78eaac4..32477ef 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(); - } } -- cgit v1.2.3