rtic/examples/type-usage.rs

16 lines
248 B
Rust
Raw Normal View History

2021-04-08 09:12:08 +02:00
//! examples/type-usage.rs
#![no_main]
#![no_std]
use panic_semihosting as _; // panic handler
use rtic::app;
#[app(device = lm3s6965, dispatchers = [SSI0])]
mod app {
type Test = u32;
#[task]
fn t1(_: t1::Context, _val: Test) {}
}