aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Finomnis <finomnis@gmail.com> 2023-11-04 00:33:03 +0100
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2023-11-08 19:43:09 +0000
commit994884ffb7725153015b45ee7ae2ae994e69bfc1 (patch)
treed6e28cf77aa57656f2bef5bd4a6f6558331e4974
parentb5f9579b90baf3d77ef942cf30a65fabfa73bb1d (diff)
downloadrtic-994884ffb7725153015b45ee7ae2ae994e69bfc1.tar.gz
rtic-994884ffb7725153015b45ee7ae2ae994e69bfc1.tar.zst
rtic-994884ffb7725153015b45ee7ae2ae994e69bfc1.zip
Fix comment
-rw-r--r--examples/teensy4_blinky/examples/with_logs.rs2
-rw-r--r--examples/teensy4_blinky/src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/teensy4_blinky/examples/with_logs.rs b/examples/teensy4_blinky/examples/with_logs.rs
index cdf0315e..e8442464 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 1b95e7b0..fad088c4 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);