diff options
Diffstat (limited to 'ports/stm32/spi.h')
| -rw-r--r-- | ports/stm32/spi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/spi.h b/ports/stm32/spi.h index 17f1bf6c4..ef3d718cd 100644 --- a/ports/stm32/spi.h +++ b/ports/stm32/spi.h @@ -65,7 +65,7 @@ extern const spi_t spi_obj[6]; extern const mp_spi_proto_t spi_proto; extern const mp_obj_type_t pyb_spi_type; -extern const mp_obj_type_t machine_hard_spi_type; +extern const mp_obj_type_t machine_spi_type; // A transfer of "len" bytes should take len*8*1000/baudrate milliseconds. // To simplify the calculation we assume the baudrate is never less than 8kHz |
