summaryrefslogtreecommitdiff
path: root/extmod/machine_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/machine_spi.c')
-rw-r--r--extmod/machine_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/machine_spi.c b/extmod/machine_spi.c
index 54f1964e2..bb35cff38 100644
--- a/extmod/machine_spi.c
+++ b/extmod/machine_spi.c
@@ -255,7 +255,7 @@ MP_DEFINE_CONST_OBJ_TYPE(
mp_machine_soft_spi_type,
MP_QSTR_SoftSPI,
MP_TYPE_FLAG_NONE,
- mp_machine_soft_spi_make_new,
+ make_new, mp_machine_soft_spi_make_new,
print, mp_machine_soft_spi_print,
protocol, &mp_machine_soft_spi_p,
locals_dict, &mp_machine_spi_locals_dict