diff --git a/lib/card10/card10.c b/lib/card10/card10.c index 16346737706f9ed243d25224ae828325e93a4a46..624db7609a5424fb6eacfc36c577090f3be69d9f 100644 --- a/lib/card10/card10.c +++ b/lib/card10/card10.c @@ -1,3 +1,4 @@ +#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 }; diff --git a/lib/card10/card10.h b/lib/card10/card10.h index 853a27be90980deda9df88d1c3156a704ada648e..fc90fe67f47527cbdbcf2a0b30a9c9d53d70d3df 100644 --- a/lib/card10/card10.h +++ b/lib/card10/card10.h @@ -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);