diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-11-16 23:56:37 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-11-16 23:56:37 +0000 |
| commit | 5694cc5490235a9091fe3e2c5563471565e3da97 (patch) | |
| tree | 3f867d354a06935acf32d47df1fd8fbaf1285168 /stmhal/file.c | |
| parent | 91386eee2613cbaf736d746cfef28674cce82c01 (diff) | |
py: Make stream seek correctly check for ioctl fn; add seek for textio.
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, }; |
