projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up the Mass Storage bootloader virtual FAT directory entry definitions.
[pub/USBasp.git]
/
Bootloaders
/
MassStorage
/
Lib
/
VirtualFAT.c
diff --git
a/Bootloaders/MassStorage/Lib/VirtualFAT.c
b/Bootloaders/MassStorage/Lib/VirtualFAT.c
index
c0d9786
..
5b94ed3
100644
(file)
--- a/
Bootloaders/MassStorage/Lib/VirtualFAT.c
+++ b/
Bootloaders/MassStorage/Lib/VirtualFAT.c
@@
-79,16
+79,15
@@
static FATDirectoryEntry_t FirmwareFileEntries[] =
* fields are ignored. Should be the same as the label in the boot block.
*/
{
* fields are ignored. Should be the same as the label in the boot block.
*/
{
- .MSDOS =
+ .MSDOS
_Directory
=
{
{
- .Filename = "LUFA BOO",
- .Extension = "T ",
+ .Name = "LUFA BOOT ",
.Attributes = FAT_FLAG_VOLUME_NAME,
.Reserved = {0},
.CreationTime = 0,
.CreationDate = 0,
.StartingCluster = 0,
.Attributes = FAT_FLAG_VOLUME_NAME,
.Reserved = {0},
.CreationTime = 0,
.CreationDate = 0,
.StartingCluster = 0,
- .
FileSizeBytes
= 0,
+ .
Reserved2
= 0,
}
},
}
},
@@
-96,7
+95,7
@@
static FATDirectoryEntry_t FirmwareFileEntries[] =
* prevent corruption of systems that are unable to detect the device
* as being a legacy MSDOS style FAT12 volume to prevent corruption. */
{
* prevent corruption of systems that are unable to detect the device
* as being a legacy MSDOS style FAT12 volume to prevent corruption. */
{
- .VFAT =
+ .VFAT
_LongFileName
=
{
.Ordinal = FAT_ORDINAL_LAST_ENTRY | 1,
.Attribute = FAT_FLAG_LONG_FILE_NAME,
{
.Ordinal = FAT_ORDINAL_LAST_ENTRY | 1,
.Attribute = FAT_FLAG_LONG_FILE_NAME,
@@
-123,7
+122,7
@@
static FATDirectoryEntry_t FirmwareFileEntries[] =
/* MSDOS file entry for the virtual Firmware image. */
{
/* MSDOS file entry for the virtual Firmware image. */
{
- .MSDOS =
+ .MSDOS
_File
=
{
.Filename = "FIRMWARE",
.Extension = "BIN",
{
.Filename = "FIRMWARE",
.Extension = "BIN",