Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
2b567d0b
Commit
2b567d0b
authored
Jun 12, 2019
by
schneider
Browse files
fix(board): Add button 2 of the prototype
parent
c012ba63
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/sdk/Libraries/Boards/card10/Source/board.c
View file @
2b567d0b
...
...
@@ -53,6 +53,7 @@ extern uint32_t SystemCoreClock;
const
gpio_cfg_t
pb_pin
[]
=
{
{
PORT_0
,
PIN_23
,
GPIO_FUNC_IN
,
GPIO_PAD_PULL_UP
},
// TOP GPIO3 / Button 1
{
PORT_0
,
PIN_20
,
GPIO_FUNC_IN
,
GPIO_PAD_PULL_UP
},
// Wristband GPIO1
{
PORT_1
,
PIN_7
,
GPIO_FUNC_IN
,
GPIO_PAD_PULL_UP
},
// TOP GPIO5 / Button 2
};
const
unsigned
int
num_pbs
=
(
sizeof
(
pb_pin
)
/
sizeof
(
gpio_cfg_t
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment