Skip to content

Commit f3fe126

Browse files
Enable gpiod, since stm32f0 crate was updated
1 parent 1c21cc7 commit f3fe126

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/gpio.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -564,12 +564,10 @@ gpio!(GPIOC, gpioc, iopcen, PC, [
564564
PC15: (pb15, 15, Input<Floating>),
565565
]);
566566

567-
// TODO Check if the bit is implemented yet
568-
// In the device crate the iopden bit is missing, so it won't compile
569-
// #[cfg(feature = "stm32f030")]
570-
// gpio!(GPIOD, gpiod, iopden, PD, [
571-
// PD2: (pd2, 2, Input<Floating>),
572-
// ]);
567+
#[cfg(feature = "stm32f030")]
568+
gpio!(GPIOD, gpiod, iopden, PD, [
569+
PD2: (pd2, 2, Input<Floating>),
570+
]);
573571

574572
#[cfg(feature = "stm32f042")]
575573
gpio!(GPIOF, gpiof, iopfen, PF, [

0 commit comments

Comments
 (0)