Skip to content

Commit

Permalink
BLACK_F407ZX: invert PF9 and PF10 in digitalPin[]
Browse files Browse the repository at this point in the history
Invert PF9 and PF10 in digitalPin[] to match their definition in
variant.h
Fixes forum issue:
https://www.stm32duino.com/viewtopic.php?p=6652#p6652

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
  • Loading branch information
ABOSTM authored and fpistm committed Apr 12, 2021
1 parent ff70a8f commit cec3f9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const PinName digitalPin[] = {
/*PF_10,*/PC_0, // PF_10: Moved to allow contiguous analog pins
PF_8, /*PF_9,*/ // PF_9: Moved to allow contiguous analog pins
PF_6, PF_7,
PF_10, PF_9, // PF_10: LED D2, PF_9: LED D1 (active low)
PF_9, PF_10, // PF_9: LED D1, PF_10: LED D2 (active low)
PF_4, PF_5,
PF_2, PF_3,
PF_0, PF_1,
Expand Down

0 comments on commit cec3f9e

Please sign in to comment.