Skip to content

Commit ebb37d6

Browse files
committed
Silence warnings
1 parent 32748c6 commit ebb37d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/lptim_rtic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const APP: () = {
7171
}
7272

7373
#[task(binds = LPTIM1, resources = [lptim, led])]
74-
fn timer_tick(mut ctx: timer_tick::Context) {
74+
fn timer_tick(ctx: timer_tick::Context) {
7575
let timer_tick::Resources { lptim, led } = ctx.resources;
7676
if lptim.is_event_triggered(Event::AutoReloadMatch) {
7777
lptim.clear_event_flag(Event::AutoReloadMatch);

examples/spi_dma_rxtx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use stm32l4xx_hal::{
1010
gpio::{Speed, State as PinState},
1111
hal::spi::{Mode, Phase, Polarity},
1212
prelude::*,
13-
rcc::{ClockSecuritySystem, CrystalBypass, MsiFreq},
13+
rcc::MsiFreq,
1414
spi::Spi,
1515
};
1616

0 commit comments

Comments
 (0)