Skip to content

Commit 117c5e3

Browse files
kyp44Dan Whitman
authored andcommitted
bsp(metro_m4)!: Fixes some compiler errors and warnings in examples.
* Fixes a minor compiler warning in the `adc` example. * Fixes a minor compiler warning in the `async_adc` example.
1 parent bcc0605 commit 117c5e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards/metro_m4/examples/adc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use bsp::Pins;
1717
use pac::{CorePeripherals, Peripherals};
1818

1919
use hal::{
20-
adc::{Accumulation, Adc, Prescaler, Resolution},
20+
adc::{Accumulation, Prescaler},
2121
clock::v2::{clock_system_at_reset, pclk::Pclk},
2222
};
2323

boards/metro_m4/examples/async_adc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use bsp::Pins;
1616
use pac::{CorePeripherals, Peripherals};
1717

1818
use hal::{
19-
adc::{Accumulation, Adc, Adc0, Prescaler, Resolution},
19+
adc::{Accumulation, Adc0, Prescaler},
2020
clock::v2::{clock_system_at_reset, pclk::Pclk},
2121
};
2222

0 commit comments

Comments
 (0)