We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a771214 commit fe8fe18Copy full SHA for fe8fe18
libraries/FS/src/vfs_api.cpp
@@ -435,7 +435,11 @@ bool VFSFileImpl::seek(uint32_t pos, SeekMode mode)
435
log_d("FILE SEEK ERROR OCCURED");
436
return 1; //return error -> for seek its all above 0
437
}
438
- return 0; //return success -> for fseek its 0
+ //return 0; //return success -> for fseek its 0
439
+
440
+ //Call fseek to adjust pointer in fstruct
441
+ auto rc = fseek(_f, pos, mode);
442
+ return rc == 0;
443
444
445
size_t VFSFileImpl::position() const
0 commit comments