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

This commit is contained in:
Damien George 2019-01-10 23:08:07 +11:00
parent f350b640a0
commit 529dcce2be
1 changed files with 1 additions and 1 deletions

View File

@ -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;