main: fix SPI init
This commit is contained in:
parent
66a6149fdf
commit
66816abc9f
|
@ -15,6 +15,10 @@
|
|||
#include "sdkconfig.h"
|
||||
|
||||
#include "driver/gpio.h"
|
||||
#include "driver/spi_slave.h"
|
||||
|
||||
// get the length of an array
|
||||
#define LENGTH(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
// GPIO to force DFU mode (on high)
|
||||
#define DFU_PIN 14
|
||||
|
|
Loading…
Reference in New Issue