diff options
author | 2021-02-20 19:22:45 +0100 | |
---|---|---|
committer | 2021-02-20 19:22:45 +0100 | |
commit | 555f36857ec93bed26ff4249593992f500b7c4ab (patch) | |
tree | 97db7bea39684b64f33d208bc4c413f469ae53e5 /examples/test_new_monotonic.rs | |
parent | d02f9a02411de1bc79490c86541e95879b7b19b8 (diff) | |
download | rtic-555f36857ec93bed26ff4249593992f500b7c4ab.tar.gz rtic-555f36857ec93bed26ff4249593992f500b7c4ab.tar.zst rtic-555f36857ec93bed26ff4249593992f500b7c4ab.zip |
Test fixes
Diffstat (limited to 'examples/test_new_monotonic.rs')
-rw-r--r-- | examples/test_new_monotonic.rs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/examples/test_new_monotonic.rs b/examples/test_new_monotonic.rs deleted file mode 100644 index 67883465..00000000 --- a/examples/test_new_monotonic.rs +++ /dev/null @@ -1,25 +0,0 @@ -//! examples/test_new_monotonic.rs - -#![no_main] -#![no_std] - -use panic_semihosting as _; // panic handler -use rtic::app; - -#[app(device = lm3s6965, dispatchers = [UART])] -mod app { - #[monotonic(binds = SysTick)] - type MyMono1 = hal::Mono1; - - #[monotonic(binds = SomeISR2, default = true)] - type MyMono2 = hal::Mono2; - - #[init] - fn init(cx: init::Context) -> (init::LateResources, init::Monotonics) {} - - #[task] - fn task1(_: task1::Context) {} - - #[task] - fn task2(_: task2::Context) {} -} |