aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32g4/src/bin/can.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32g4/src/bin/can.rs')
-rw-r--r--examples/stm32g4/src/bin/can.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32g4/src/bin/can.rs b/examples/stm32g4/src/bin/can.rs
index 7836334af..90004f874 100644
--- a/examples/stm32g4/src/bin/can.rs
+++ b/examples/stm32g4/src/bin/can.rs
@@ -192,7 +192,7 @@ async fn main(_spawner: Spawner) {
192 192
193 Timer::after_millis(250).await; 193 Timer::after_millis(250).await;
194 194
195 i += 1; 195 i = i.wrapping_add(1);
196 } 196 }
197 } else { 197 } else {
198 static TX_BUF: StaticCell<can::TxBuf<8>> = StaticCell::new(); 198 static TX_BUF: StaticCell<can::TxBuf<8>> = StaticCell::new();
@@ -228,7 +228,7 @@ async fn main(_spawner: Spawner) {
228 228
229 Timer::after_millis(250).await; 229 Timer::after_millis(250).await;
230 230
231 i += 1; 231 i = i.wrapping_add(1);
232 } 232 }
233 } 233 }
234} 234}