Skip to content

Commit 775f21f

Browse files
committed
fixup! Bump stm32l0xx-hal from 0.6.2 to 0.9.0 in /rtic_v0.5/stm32l0_monotonic
fixup
1 parent 78e2a89 commit 775f21f

File tree

3 files changed

+42
-65
lines changed

3 files changed

+42
-65
lines changed

rtic_v0.5/stm32l0_monotonic/Cargo.lock

Lines changed: 39 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rtic_v0.5/stm32l0_monotonic/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version = "0.1.0"
99
edition = "2018"
1010

1111
[dependencies]
12-
cortex-m-rtic = "0.5.1"
12+
cortex-m-rtic = { version = "0.5.9", default-features = false, features = ["cortex-m-7"] }
1313
panic-halt = { version = "0.2.0" }
1414
stm32l0xx-hal = { version = "0.9", features = ["rt", "mcu-STM32L071KBTx"] }
1515

rtic_v0.5/stm32l0_monotonic/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use core::fmt::Write;
88
use panic_halt as _;
99
use rtic::app;
1010
use stm32l0xx_hal::prelude::*;
11-
use stm32l0xx_hal::{pac, rcc::Config, serial, time};
11+
use stm32l0xx_hal::{pac, rcc::Config, serial};
1212

1313
use crate::monotonic_stm32l0::{Duration, Instant, Tim6Monotonic, U16Ext};
1414

@@ -45,7 +45,7 @@ const APP: () = {
4545
gpiob.pb6.into_floating_input(),
4646
gpiob.pb7.into_floating_input(),
4747
serial::Config {
48-
baudrate: time::Bps(57_600),
48+
baudrate: 57_600.Bd(),
4949
wordlength: serial::WordLength::DataBits8,
5050
parity: serial::Parity::ParityNone,
5151
stopbits: serial::StopBits::STOP1,

0 commit comments

Comments
 (0)