Skip to content

Commit a595a01

Browse files
committed
move cargo.toml tips to the top to make them easier to find
1 parent c0aab04 commit a595a01

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/rtic2-tick.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
#![no_std]
33
#![feature(type_alias_impl_trait)]
44

5+
//Add this to Cargo.toml if you want to use SysTick as monotonic timer
6+
//[dependencies.rtic-monotonics]
7+
//version = "2.0"
8+
//features = ["cortex-m-systick"]
9+
510
use defmt_rtt as _;
611
use panic_probe as _;
712
use rtic_time::Monotonic;
@@ -60,8 +65,3 @@ mod app {
6065
}
6166
}
6267
}
63-
64-
//Add this to Cargo.toml if use SysTick as monotonic timer
65-
//[dependencies.rtic-monotonics]
66-
//version = "2.0"
67-
//features = ["cortex-m-systick"]

0 commit comments

Comments
 (0)