summaryrefslogtreecommitdiff
path: root/supervisor/spi_flash_api.h
diff options
context:
space:
mode:
authorHierophect <hierophect@gmail.com>2019-12-18 17:17:06 -0500
committerHierophect <hierophect@gmail.com>2019-12-18 17:17:06 -0500
commit902e2422376a454ba9e088e86dc81bce8509623d (patch)
treeaa9e5c099370373fe699bc1bc84c6b0b2dd320c4 /supervisor/spi_flash_api.h
parent5b70fa0a64c076f8c1b894893d02fad49ad6bf5b (diff)
Revert "enable internal SPI intercepts. can brick USB"
This reverts commit 5b70fa0a64c076f8c1b894893d02fad49ad6bf5b.
Diffstat (limited to 'supervisor/spi_flash_api.h')
-rw-r--r--supervisor/spi_flash_api.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/supervisor/spi_flash_api.h b/supervisor/spi_flash_api.h
index b477308ba..28cccb1b1 100644
--- a/supervisor/spi_flash_api.h
+++ b/supervisor/spi_flash_api.h
@@ -31,10 +31,6 @@
#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);