From 5694cc5490235a9091fe3e2c5563471565e3da97 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 16 Nov 2014 23:56:37 +0000 Subject: py: Make stream seek correctly check for ioctl fn; add seek for textio. --- stmhal/file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'stmhal/file.c') 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, }; -- cgit v1.2.3