Skip to content
Snippets Groups Projects
Commit 036b5822 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

extmod/modframebuf: Use correct initialization for .locals_dict.

parent 45645043
No related branches found
No related tags found
No related merge requests found
......@@ -549,7 +549,7 @@ STATIC const mp_obj_type_t mp_type_framebuf = {
.name = MP_QSTR_FrameBuffer,
.make_new = framebuf_make_new,
.buffer_p = { .get_buffer = framebuf_get_buffer },
.locals_dict = (mp_obj_t)&framebuf_locals_dict,
.locals_dict = (mp_obj_dict_t*)&framebuf_locals_dict,
};
// this factory function is provided for backwards compatibility with old FrameBuffer1 class
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment