diff options
author | Damien George <damien.p.george@gmail.com> | 2019-01-30 22:04:54 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-02-12 14:54:51 +1100 |
commit | f03601779e7abe733a8411d62329098d47d9f215 (patch) | |
tree | d2d82d693c1dedef4043163fcf594e34a5f03aea /extmod/vfs_posix.c | |
parent | 054dd33ebad67f5c8f328036fd32c3871589a386 (diff) |
extmod: Convert legacy uppercase macro names to lowercase.
Diffstat (limited to 'extmod/vfs_posix.c')
-rw-r--r-- | extmod/vfs_posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/vfs_posix.c b/extmod/vfs_posix.c index 4ca7f9b90..4ef761956 100644 --- a/extmod/vfs_posix.c +++ b/extmod/vfs_posix.c @@ -130,7 +130,7 @@ STATIC mp_obj_t vfs_posix_open(mp_obj_t self_in, mp_obj_t path_in, mp_obj_t mode && (strchr(mode, 'w') != NULL || strchr(mode, 'a') != NULL || strchr(mode, '+') != NULL)) { mp_raise_OSError(MP_EROFS); } - if (!MP_OBJ_IS_SMALL_INT(path_in)) { + if (!mp_obj_is_small_int(path_in)) { path_in = vfs_posix_get_path_obj(self, path_in); } return mp_vfs_posix_file_open(&mp_type_textio, path_in, mode_in); |