summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorHierophect <hierophect@gmail.com>2020-01-17 13:31:12 -0500
committerHierophect <hierophect@gmail.com>2020-01-17 13:31:12 -0500
commit3f43155b636a61f204d10dafa6bed733f86be4ec (patch)
tree14eda5f6fb0554fbd4318295bc56cf97e3039dc8 /supervisor
parent1070f2c85338abdd589f82c5e4e19d3f10c28294 (diff)
Meowbit bus conflict WIP
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/spi_flash_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/supervisor/spi_flash_api.h b/supervisor/spi_flash_api.h
index 28cccb1b1..b477308ba 100644
--- a/supervisor/spi_flash_api.h
+++ b/supervisor/spi_flash_api.h
@@ -31,6 +31,10 @@
#include "supervisor/shared/external_flash/devices.h"
+#include "shared-bindings/busio/SPI.h"
+
+extern busio_spi_obj_t spi; //Used to share SPI bus on some boards
+
// This API is implemented for both normal SPI peripherals and QSPI peripherals.
bool spi_flash_command(uint8_t command);