mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
py/modio: Make iobase_singleton object const so it goes in ROM.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user