2018.07.26

Fork of FATFileSystem by mbed official

Revision:
5:b3b3370574cf
Parent:
1:46ce1e16c870
diff -r 3ff2606d5713 -r b3b3370574cf FATDirHandle.cpp
--- a/FATDirHandle.cpp	Thu Aug 28 13:15:31 2014 +0100
+++ b/FATDirHandle.cpp	Thu Aug 13 10:15:39 2015 +0100
@@ -30,8 +30,9 @@
 }
 
 int FATDirHandle::closedir() {
+    int retval = f_closedir(&dir);
     delete this;
-    return 0;
+    return retval;
 }
 
 struct dirent *FATDirHandle::readdir() {