fusee-secondary/fs_dev: Correct uninitialized cast within fsdev_seek()

Previously this was casting the same unassigned variable that was being
assigned to.
This commit is contained in:
Lioncash authored and SciresM committed 2018-07-29 20:15:44 -07:00
1 parent cb4089e49c
commit bbdf2868c9
1 file changed
+1 -1
+1 -1
View File
@@ -442,7 +442,7 @@ static ssize_t fsdev_read(struct _reent *r, void *fd, char *ptr, size_t len) {
}
static off_t fsdev_seek(struct _reent *r, void *fd, off_t pos, int whence) {
FIL *f = (FIL *)f;
FIL *f = (FIL *)fd;
FSIZE_t off;
int ret;