Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
card10-firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dx
card10-firmware
Commits
6c87ece6
Verified
Commit
6c87ece6
authored
5 years ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
chore(libcard10): Move SPI_SPEED into header
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
6b956ce0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/card10/card10.c
+1
-2
1 addition, 2 deletions
lib/card10/card10.c
lib/card10/card10.h
+2
-0
2 additions, 0 deletions
lib/card10/card10.h
with
3 additions
and
2 deletions
lib/card10/card10.c
+
1
−
2
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
};
...
...
This diff is collapsed.
Click to expand it.
lib/card10/card10.h
+
2
−
0
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment