Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit d6bb60a

Browse files
committed
fix for latest newlib
1 parent 1b52622 commit d6bb60a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

source/directory.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,19 +1111,14 @@ void _FAT_directory_entryStat (PARTITION* partition, DIR_ENTRY* entry, struct st
11111111
0,
11121112
u8array_to_u16 (entry->entryData, DIR_ENTRY_aDate)
11131113
);
1114-
st->st_spare1 = 0;
11151114
st->st_mtime = _FAT_filetime_to_time_t (
11161115
u8array_to_u16 (entry->entryData, DIR_ENTRY_mTime),
11171116
u8array_to_u16 (entry->entryData, DIR_ENTRY_mDate)
11181117
);
1119-
st->st_spare2 = 0;
11201118
st->st_ctime = _FAT_filetime_to_time_t (
11211119
u8array_to_u16 (entry->entryData, DIR_ENTRY_cTime),
11221120
u8array_to_u16 (entry->entryData, DIR_ENTRY_cDate)
11231121
);
1124-
st->st_spare3 = 0;
11251122
st->st_blksize = partition->bytesPerSector; // Prefered file I/O block size
11261123
st->st_blocks = (st->st_size + partition->bytesPerSector - 1) / partition->bytesPerSector; // File size in blocks
1127-
st->st_spare4[0] = 0;
1128-
st->st_spare4[1] = 0;
11291124
}

0 commit comments

Comments
 (0)