Skip to content
Snippets Groups Projects
Verified Commit 6c87ece6 authored by rahix's avatar rahix
Browse files

chore(libcard10): Move SPI_SPEED into header


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 6b956ce0
No related branches found
No related tags found
No related merge requests found
#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
};
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment