py/modio: Make iobase_singleton object const so it goes in ROM.
This commit is contained in:
parent
f350b640a0
commit
529dcce2be
|
@ -44,7 +44,7 @@ extern const mp_obj_type_t mp_type_textio;
|
||||||
|
|
||||||
STATIC const mp_obj_type_t mp_type_iobase;
|
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) {
|
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;
|
(void)type;
|
||||||
|
|
Loading…
Reference in New Issue