Skip to content

Commit 7b0c2ff

Browse files
Fix names of GPIOD types/fields
These were referring to Port C, not good
1 parent 1aed4b2 commit 7b0c2ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ gpio!(GPIOC, gpioc, iopcen, PC, [
517517
]);
518518

519519
#[cfg(any(feature = "stm32l0x2", feature = "stm32l0x3"))]
520-
gpio!(GPIOD, gpiod, iopcen, PC, [
520+
gpio!(GPIOD, gpiod, iopden, PD, [
521521
PD0: (pd0, 0, Input<Floating>),
522522
PD1: (pd1, 1, Input<Floating>),
523523
PD2: (pd2, 2, Input<Floating>),

0 commit comments

Comments
 (0)