Skip to content

Commit 6206ad0

Browse files
ABOSTMfpistm
authored andcommitted
BLACK_F407ZX: invert PF9 and PF10 in digitalPin[]
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 <[email protected]>
1 parent ca51700 commit 6206ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: variants/STM32F4xx/F407Z(E-G)T_F417Z(E-G)T/variant_BLACK_F407ZX.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const PinName digitalPin[] = {
7878
/*PF_10,*/PC_0, // PF_10: Moved to allow contiguous analog pins
7979
PF_8, /*PF_9,*/ // PF_9: Moved to allow contiguous analog pins
8080
PF_6, PF_7,
81-
PF_10, PF_9, // PF_10: LED D2, PF_9: LED D1 (active low)
81+
PF_9, PF_10, // PF_9: LED D1, PF_10: LED D2 (active low)
8282
PF_4, PF_5,
8383
PF_2, PF_3,
8484
PF_0, PF_1,

0 commit comments

Comments
 (0)