update file close() to support directory
This commit is contained in:
1 parent
1264eb8567
commit
0284917c82
4 files changed
+12
-5
No files matched your search
@@ -124,7 +124,7 @@ void File::close (void)
|
||||
{
|
||||
if ( _hdl )
|
||||
{
|
||||
_fs->_f_close(_hdl);
|
||||
_fs->_f_close(_hdl, _is_dir);
|
||||
rtos_free(_hdl);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user