mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Fix comment
This commit is contained in:
parent
b5f9579b90
commit
994884ffb7
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ mod app {
|
||||||
poll_log.set_load_timer_value(LOG_POLL_INTERVAL);
|
poll_log.set_load_timer_value(LOG_POLL_INTERVAL);
|
||||||
poll_log.enable();
|
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);
|
gpt1.set_clock_source(hal::gpt::ClockSource::PeripheralClock);
|
||||||
let gpt1_mono_token = rtic_monotonics::create_imxrt_gpt1_token!();
|
let gpt1_mono_token = rtic_monotonics::create_imxrt_gpt1_token!();
|
||||||
Mono::start(board::PERCLK_FREQUENCY, gpt1.release(), gpt1_mono_token);
|
Mono::start(board::PERCLK_FREQUENCY, gpt1.release(), gpt1_mono_token);
|
||||||
|
|
|
@ -35,7 +35,7 @@ mod app {
|
||||||
..
|
..
|
||||||
} = board::t40(cx.device);
|
} = 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);
|
gpt1.set_clock_source(hal::gpt::ClockSource::PeripheralClock);
|
||||||
let gpt1_mono_token = rtic_monotonics::create_imxrt_gpt1_token!();
|
let gpt1_mono_token = rtic_monotonics::create_imxrt_gpt1_token!();
|
||||||
Mono::start(board::PERCLK_FREQUENCY, gpt1.release(), gpt1_mono_token);
|
Mono::start(board::PERCLK_FREQUENCY, gpt1.release(), gpt1_mono_token);
|
||||||
|
|
Loading…
Reference in a new issue