diff options
Diffstat (limited to 'examples/stm32f1')
| -rw-r--r-- | examples/stm32f1/src/bin/can.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32f1/src/bin/can.rs b/examples/stm32f1/src/bin/can.rs index 1c13d623d..ad0c8a5a5 100644 --- a/examples/stm32f1/src/bin/can.rs +++ b/examples/stm32f1/src/bin/can.rs | |||
| @@ -85,7 +85,7 @@ async fn main(_spawner: Spawner) { | |||
| 85 | defmt::println!("Error {}", err); | 85 | defmt::println!("Error {}", err); |
| 86 | } | 86 | } |
| 87 | } | 87 | } |
| 88 | i += 1; | 88 | i = i.wrapping_add(1); |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | */ | 91 | */ |
| @@ -135,6 +135,6 @@ async fn main(_spawner: Spawner) { | |||
| 135 | defmt::println!("Error {}", err); | 135 | defmt::println!("Error {}", err); |
| 136 | } | 136 | } |
| 137 | } | 137 | } |
| 138 | i += 1; | 138 | i = i.wrapping_add(1); |
| 139 | } | 139 | } |
| 140 | } | 140 | } |
