summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_fat_more.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/vfs_fat_more.py')
-rw-r--r--tests/extmod/vfs_fat_more.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/extmod/vfs_fat_more.py b/tests/extmod/vfs_fat_more.py
index baec96787..1d9b1c3dd 100644
--- a/tests/extmod/vfs_fat_more.py
+++ b/tests/extmod/vfs_fat_more.py
@@ -27,11 +27,13 @@ class RAMFS:
#print("readblocks(%s, %x(%d))" % (n, id(buf), len(buf)))
for i in range(len(buf)):
buf[i] = self.data[n * self.SEC_SIZE + i]
+ return 0
def writeblocks(self, n, buf):
#print("writeblocks(%s, %x)" % (n, id(buf)))
for i in range(len(buf)):
self.data[n * self.SEC_SIZE + i] = buf[i]
+ return 0
def ioctl(self, op, arg):
#print("ioctl(%d, %r)" % (op, arg))