diff --git a/book/en/src/migration_v1_v2/complete_example.md b/book/en/src/migration_v1_v2/complete_example.md index 19a746a78d..e76fa4d7dc 100644 --- a/book/en/src/migration_v1_v2/complete_example.md +++ b/book/en/src/migration_v1_v2/complete_example.md @@ -123,7 +123,7 @@ _Note_: This diff may not be 100% accurate, but it displays the important change - let mono = Systick::new(cx.core.SYST, 36_000_000); + let mono_token = rtic_monotonics::create_systick_token!(); -+ let mono = Systick::new(cx.core.SYST, 36_000_000, mono_token); ++ let mono = Systick::start(cx.core.SYST, 36_000_000, mono_token); let _clocks = rcc .cfgr @@ -166,4 +166,4 @@ _Note_: This diff may not be 100% accurate, but it displays the important change + } + } } -``` \ No newline at end of file +```