diff options
Diffstat (limited to 'stmhal/file.c')
-rw-r--r-- | stmhal/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/file.c b/stmhal/file.c index 8e42bda57..c4f4dace0 100644 --- a/stmhal/file.c +++ b/stmhal/file.c @@ -260,6 +260,7 @@ const mp_obj_type_t mp_type_fileio = { STATIC const mp_stream_p_t textio_stream_p = { .read = file_obj_read, .write = file_obj_write, + .ioctl = file_obj_ioctl, .is_text = true, }; |