Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Haun
firmware
Commits
6c87ece6
Verified
Commit
6c87ece6
authored
Aug 19, 2019
by
Rahix
Browse files
chore(libcard10): Move SPI_SPEED into header
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
6b956ce0
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/card10/card10.c
View file @
6c87ece6
#include
"card10.h"
#include
"pmic.h"
#include
"bosch.h"
#include
"display.h"
...
...
@@ -24,8 +25,6 @@
#include
<stdint.h>
#include
<string.h>
#define SPI_SPEED (15 * 1000 * 1000) // Bit Rate
const
gpio_cfg_t
bhi_interrupt_pin
=
{
PORT_0
,
PIN_13
,
GPIO_FUNC_IN
,
GPIO_PAD_PULL_UP
};
...
...
lib/card10/card10.h
View file @
6c87ece6
...
...
@@ -4,6 +4,8 @@
#include
<stdint.h>
#define SPI_SPEED (15 * 1000 * 1000) // Bit Rate
extern
const
gpio_cfg_t
bhi_interrupt_pin
;
void
card10_init
(
void
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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