Fix comment

This commit is contained in:
Finomnis 2023-11-04 00:33:03 +01:00 committed by Emil Fresk
parent b5f9579b90
commit 994884ffb7
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ mod app {
poll_log.set_load_timer_value(LOG_POLL_INTERVAL);
poll_log.enable();
// Initialize the systick interrupt & obtain the token to prove that we did
// Initialize Monotonic
gpt1.set_clock_source(hal::gpt::ClockSource::PeripheralClock);
let gpt1_mono_token = rtic_monotonics::create_imxrt_gpt1_token!();
Mono::start(board::PERCLK_FREQUENCY, gpt1.release(), gpt1_mono_token);

View file

@ -35,7 +35,7 @@ mod app {
..
} = board::t40(cx.device);
// Initialize the systick interrupt & obtain the token to prove that we did
// Initialize Monotonic
gpt1.set_clock_source(hal::gpt::ClockSource::PeripheralClock);
let gpt1_mono_token = rtic_monotonics::create_imxrt_gpt1_token!();
Mono::start(board::PERCLK_FREQUENCY, gpt1.release(), gpt1_mono_token);