diff --git a/examples/teensy4_blinky/examples/with_logs.rs b/examples/teensy4_blinky/examples/with_logs.rs index cdf0315e4d..e8442464fb 100644 --- a/examples/teensy4_blinky/examples/with_logs.rs +++ b/examples/teensy4_blinky/examples/with_logs.rs @@ -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); diff --git a/examples/teensy4_blinky/src/main.rs b/examples/teensy4_blinky/src/main.rs index 1b95e7b082..fad088c45f 100644 --- a/examples/teensy4_blinky/src/main.rs +++ b/examples/teensy4_blinky/src/main.rs @@ -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);