aboutsummaryrefslogtreecommitdiff
path: root/examples/test_new_monotonic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test_new_monotonic.rs')
-rw-r--r--examples/test_new_monotonic.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/test_new_monotonic.rs b/examples/test_new_monotonic.rs
index b3890581..d2530c66 100644
--- a/examples/test_new_monotonic.rs
+++ b/examples/test_new_monotonic.rs
@@ -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) {