Skip to content

Commit

Permalink
BlackPill F401CC: add USER_BTN on PA0
Browse files Browse the repository at this point in the history
Note this user button is not available on all revisions of this board

Fixes stm32duino#1144

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
  • Loading branch information
ABOSTM authored and fpistm committed Apr 14, 2021
1 parent 4dc8840 commit 3d2775d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@

// On-board user button
#ifndef USER_BTN
#define USER_BTN ND
// User button is not available on all revision of this board
#define USER_BTN PA0
#endif

// SPI definitions
Expand Down

0 comments on commit 3d2775d

Please sign in to comment.