diff options
author | Damien George <damien.p.george@gmail.com> | 2019-01-30 22:05:48 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-02-12 14:54:51 +1100 |
commit | 6e30f96b0b0ab14853085e5300d80d7c1a6f67c5 (patch) | |
tree | b832f0c77defc536481736f6adce2068b5b8e970 /ports/unix/modtermios.c | |
parent | f03601779e7abe733a8411d62329098d47d9f215 (diff) |
ports: Convert legacy uppercase macro names to lowercase.
Diffstat (limited to 'ports/unix/modtermios.c')
-rw-r--r-- | ports/unix/modtermios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/modtermios.c b/ports/unix/modtermios.c index fe19aac83..7e46ba2f5 100644 --- a/ports/unix/modtermios.c +++ b/ports/unix/modtermios.c @@ -77,7 +77,7 @@ STATIC mp_obj_t mod_termios_tcsetattr(mp_obj_t fd_in, mp_obj_t when_in, mp_obj_t when = TCSANOW; } - assert(MP_OBJ_IS_TYPE(attrs_in, &mp_type_list)); + assert(mp_obj_is_type(attrs_in, &mp_type_list)); mp_obj_list_t *attrs = MP_OBJ_TO_PTR(attrs_in); term.c_iflag = mp_obj_get_int(attrs->items[0]); |