summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/spi.h')
-rw-r--r--stmhal/spi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/spi.h b/stmhal/spi.h
index bf9eabfcab..5686bde649 100644
--- a/stmhal/spi.h
+++ b/stmhal/spi.h
@@ -31,6 +31,8 @@ extern SPI_HandleTypeDef SPIHandle4;
extern SPI_HandleTypeDef SPIHandle5;
extern SPI_HandleTypeDef SPIHandle6;
extern const mp_obj_type_t pyb_spi_type;
+extern const mp_obj_type_t machine_soft_spi_type;
+extern const mp_obj_type_t machine_hard_spi_type;
void spi_init0(void);
void spi_init(SPI_HandleTypeDef *spi, bool enable_nss_pin);