Browse files

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

  • Loading branch information...
dpgeorge committed Jan 10, 2019
1 parent f350b64 commit 529dcce2be613d48b77d72fd3c2e8f17ebfaebe5
Showing with 1 addition and 1 deletion.
  1. +1 −1 py/modio.c
@@ -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) {

0 comments on commit 529dcce

Please sign in to comment.