mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-17 21:35:20 +01:00
More work
This commit is contained in:
parent
b23bb1192c
commit
97a48983d2
10 changed files with 155 additions and 176 deletions
|
|
@ -9,10 +9,10 @@ use rtic::app;
|
|||
#[app(device = lm3s6965, dispatchers = [UART])]
|
||||
mod app {
|
||||
#[monotonic(binds = SomeISR1)]
|
||||
type Mono1 = hal::Mono1;
|
||||
type MyMono1 = hal::Mono1;
|
||||
|
||||
#[monotonic(binds = SomeISR2)]
|
||||
type Mono2 = hal::Mono2;
|
||||
#[monotonic(binds = SomeISR2, default = true)]
|
||||
type MyMono2 = hal::Mono2;
|
||||
|
||||
#[init]
|
||||
fn init(cx: init::Context) -> (init::LateResources, init::Monotonics) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue