Skip to content

Commit 5420e9f

Browse files
committed
revert deleting ExtU32 from prelude
1 parent 06f2076 commit 5420e9f

17 files changed

+2
-16
lines changed

examples/analog-stopwatch-with-spi-ssd1306.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ use core::cell::{Cell, RefCell};
2323
use core::fmt::Write;
2424
use core::ops::DerefMut;
2525
use cortex_m::interrupt::{free, CriticalSection, Mutex};
26-
use fugit::ExtU32;
2726
use heapless::String;
2827

2928
use hal::spi::{Mode, Phase, Polarity};

examples/blinky-timer-irq.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ use crate::hal::{
2020
use core::cell::RefCell;
2121
use cortex_m::interrupt::Mutex;
2222
use cortex_m_rt::entry;
23-
use fugit::ExtU32;
2423

2524
// NOTE You can uncomment 'hprintln' here and in the code below for a bit more
2625
// verbosity at runtime, at the cost of throwing off the timing of the blink

examples/delay-timer-blinky.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use panic_halt as _; // panic handler
1010

1111
use cortex_m_rt::entry;
12-
use fugit::ExtU32;
1312
use stm32f4xx_hal as hal;
1413

1514
use crate::hal::{pac, prelude::*};

examples/dynamic-gpio.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ use nb::block;
88

99
use cortex_m_rt::entry;
1010
use cortex_m_semihosting::hprintln;
11-
use fugit::ExtU32;
1211
use stm32f4xx_hal::{gpio::PinState, pac, prelude::*, timer::Timer};
1312

1413
#[entry]

examples/pwm-sinus.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use panic_halt as _;
77

88
use core::f32::consts::FRAC_PI_2;
99
use cortex_m_rt::entry;
10-
use fugit::ExtU32;
1110
use micromath::F32Ext;
1211
use stm32f4xx_hal::{
1312
pac,

examples/rtc.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ use cortex_m_rt::entry;
99
use panic_halt as _;
1010
use rtt_target::{rprintln, rtt_init_print};
1111

12-
use fugit::ExtU32;
1312
use stm32f4xx_hal::{pac, prelude::*, rtc::Rtc};
1413
use time::{
1514
macros::{date, time},

examples/rtc_alarm.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ use rtt_target::{rprintln, rtt_init_print};
1111
use crate::hal::prelude::*;
1212
use crate::hal::rtc::{Alarm, AlarmDay, Event, Rtc};
1313
use cortex_m::interrupt::{free, Mutex};
14-
use fugit::ExtU32;
1514
use time::{
1615
macros::{date, time},
1716
PrimitiveDateTime,

examples/rtic-adc-dma.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use panic_probe as _;
77
#[rtic::app(device = stm32f4xx_hal::pac, dispatchers = [EXTI0])]
88
mod app {
99
use dwt_systick_monotonic::DwtSystick;
10-
use fugit::ExtU32;
1110

1211
use stm32f4xx_hal::{
1312
adc::{

examples/rtic-tick.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ mod app {
4545

4646
#[task(local = [led])]
4747
fn tick(ctx: tick::Context) {
48-
tick::spawn_after(1.secs()).ok();
48+
tick::spawn_after(1_u64.secs()).ok();
4949
ctx.local.led.toggle();
5050
defmt::info!("Tick");
5151
}

examples/rtic-usb-cdc-echo.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use panic_halt as _;
55

66
#[rtic::app(device = stm32f4xx_hal::pac, peripherals = true, dispatchers = [USART1])]
77
mod app {
8-
use fugit::ExtU32;
98
use stm32f4xx_hal::{
109
gpio::{Output, PC13},
1110
otg_fs::{UsbBus, UsbBusType, USB},

0 commit comments

Comments
 (0)