We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e68811d commit efee577Copy full SHA for efee577
1 file changed
extmod/machine_pinbase.c
@@ -51,7 +51,7 @@ STATIC mp_obj_t pinbase_make_new(const mp_obj_type_t *type, size_t n_args, size_
51
(void)n_args;
52
(void)n_kw;
53
(void)args;
54
- return MP_ROM_PTR(&pinbase_singleton);
+ return MP_OBJ_FROM_PTR(&pinbase_singleton);
55
}
56
57
mp_uint_t pinbase_ioctl(mp_obj_t obj, mp_uint_t request, uintptr_t arg, int *errcode);
0 commit comments