summaryrefslogtreecommitdiff
path: root/shared-bindings/busio/SPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/busio/SPI.h')
-rw-r--r--shared-bindings/busio/SPI.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-bindings/busio/SPI.h b/shared-bindings/busio/SPI.h
index 555f32c92..2d12b8b76 100644
--- a/shared-bindings/busio/SPI.h
+++ b/shared-bindings/busio/SPI.h
@@ -61,4 +61,7 @@ extern bool common_hal_busio_spi_transfer(busio_spi_obj_t *self, uint8_t *data_o
// Return actual SPI bus frequency.
uint32_t common_hal_busio_spi_get_frequency(busio_spi_obj_t* self);
+// This is used by the supervisor to claim SPI devices indefinitely.
+extern void common_hal_busio_spi_never_reset(busio_spi_obj_t *self);
+
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_BUSIO_SPI_H