diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-07 12:01:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-07 12:01:18 +0000 |
| commit | 6c8257bb73de0f68072467447692a1f7dff555f9 (patch) | |
| tree | 815ee7267e0661532f9c3ad13021b5293efd994f /examples/types.rs | |
| parent | 3c86d713a6f8fdb052de80380a17468090e42624 (diff) | |
| parent | ae691952c328757113047bf696e934316789b844 (diff) | |
Merge #456
456: Cancel/reschedule support for monotonics r=AfoHT a=korken89
Design document: https://hackmd.io/lhUCzrKBS-66aadO4KsSzw?view
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'examples/types.rs')
| -rw-r--r-- | examples/types.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/types.rs b/examples/types.rs index ff7deb8..cdcf80c 100644 --- a/examples/types.rs +++ b/examples/types.rs @@ -10,13 +10,10 @@ use panic_semihosting as _; #[rtic::app(device = lm3s6965, peripherals = true, dispatchers = [SSI0])] mod app { use cortex_m_semihosting::debug; - use dwt_systick_monotonic::{ - consts::{U0, U8}, - DwtSystick, - }; + use dwt_systick_monotonic::DwtSystick; #[monotonic(binds = SysTick, default = true)] - type MyMono = DwtSystick<U8, U0, U0>; // 8 MHz + type MyMono = DwtSystick<8_000_000>; // 8 MHz #[resources] struct Resources { |
