aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h5/src
diff options
context:
space:
mode:
authorPeter Kövesdi <[email protected]>2024-04-29 22:31:16 +0200
committerPeter Kövesdi <[email protected]>2024-04-29 22:31:16 +0200
commitb6f9dbfb5b66190cd8d798ec0f99a7f3cdeb8ea0 (patch)
tree032ef2c0c4b7a6438eb8fd582a93123afbd5ae79 /examples/stm32h5/src
parent679160a1c573709ccf2c54755e69ea9e1b5a209e (diff)
fixed: example loops crashing after 256 passes
Diffstat (limited to 'examples/stm32h5/src')
-rw-r--r--examples/stm32h5/src/bin/can.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h5/src/bin/can.rs b/examples/stm32h5/src/bin/can.rs
index dc77ec3bf..194239d47 100644
--- a/examples/stm32h5/src/bin/can.rs
+++ b/examples/stm32h5/src/bin/can.rs
@@ -93,6 +93,6 @@ async fn main(_spawner: Spawner) {
93 93
94 Timer::after_millis(250).await; 94 Timer::after_millis(250).await;
95 95
96 i += 1; 96 i = i.wrapping_add(1);
97 } 97 }
98} 98}