Skip to content

Commit 85afcff

Browse files
committed
BlackPill F401CC: add USER_BTN on PA0
Note this user buuton is not available on all revisions of this board Fixes stm32duino#1144 Signed-off-by: Alexandre Bourdiol <[email protected]>
1 parent 47247d5 commit 85afcff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: variants/STM32F4xx/F401C(B-C)_F401C(D-E)_F401CCFx/variant_BLACKPILL_F401CC.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@
8787

8888
// On-board user button
8989
#ifndef USER_BTN
90-
#define USER_BTN ND
90+
// User button is not available on all revision of this board
91+
#define USER_BTN PA0
9192
#endif
9293

9394
// SPI definitions

0 commit comments

Comments
 (0)