Skip to content

Commit 92567a1

Browse files
committed
Bump dependencies of 05-led-roulette
1 parent 5607a83 commit 92567a1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/05-led-roulette/auxiliary/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "aux5"
99
version = "0.2.0"
1010

1111
[dependencies]
12-
cortex-m = "0.6.4"
13-
cortex-m-rt = "0.6.13"
14-
stm32f3-discovery = "0.6.0"
12+
cortex-m = "0.7.2"
13+
cortex-m-rt = "0.6.14"
14+
stm32f3-discovery = "0.7.0"
1515
panic-itm = "0.4.2"

src/05-led-roulette/auxiliary/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ pub use stm32f3xx_hal::{
1414
delay::Delay,
1515
gpio::{gpioe, Output, PushPull},
1616
hal::blocking::delay::DelayMs,
17-
stm32,
17+
pac,
1818
};
1919

2020
pub type LedArray = [Switch<gpioe::PEx<Output<PushPull>>, ActiveHigh>; 8];
2121

2222
pub fn init() -> (Delay, LedArray) {
23-
let device_periphs = stm32::Peripherals::take().unwrap();
23+
let device_periphs = pac::Peripherals::take().unwrap();
2424
let mut reset_and_clock_control = device_periphs.RCC.constrain();
2525

2626
let core_periphs = cortex_m::Peripherals::take().unwrap();

0 commit comments

Comments
 (0)