summaryrefslogtreecommitdiffstatshomepage
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 43148c9c8d..c7fc5877b1 100644
--- a/extmod/machine_spi.c
+++ b/extmod/machine_spi.c
@@ -258,7 +258,7 @@ MP_DEFINE_CONST_OBJ_TYPE(
mp_machine_soft_spi_make_new,
print, mp_machine_soft_spi_print,
protocol, &mp_machine_soft_spi_p,
- locals_dict, (mp_obj_dict_t *)&mp_machine_spi_locals_dict
+ locals_dict, &mp_machine_spi_locals_dict
);
#endif // MICROPY_PY_MACHINE_SOFTSPI