Skip to content
Snippets Groups Projects
Commit 529dcce2 authored by Damien George's avatar Damien George
Browse files

py/modio: Make iobase_singleton object const so it goes in ROM.

parent f350b640
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ extern const mp_obj_type_t mp_type_textio;
STATIC const mp_obj_type_t mp_type_iobase;
STATIC mp_obj_base_t iobase_singleton = {&mp_type_iobase};
STATIC const mp_obj_base_t iobase_singleton = {&mp_type_iobase};
STATIC mp_obj_t iobase_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
(void)type;
......
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