mirror of
https://github.com/oltaco/Adafruit_nRF52_Bootloader_OTAFIX.git
synced 2026-09-26 09:29:14 +00:00
Fix media type mismatch
Fix the boot sector media descriptor to match the first FAT entries.
This commit is contained in:
@@ -106,7 +106,7 @@ static FAT_BootBlock const BootBlock = {
|
||||
.FATCopies = 2,
|
||||
.RootDirectoryEntries = (ROOT_DIR_SECTORS * 512 / 32),
|
||||
.TotalSectors16 = NUM_FAT_BLOCKS - 2,
|
||||
.MediaDescriptor = 0xF8,
|
||||
.MediaDescriptor = 0xF0,
|
||||
.SectorsPerFAT = SECTORS_PER_FAT,
|
||||
.SectorsPerTrack = 1,
|
||||
.Heads = 1,
|
||||
|
||||
Reference in New Issue
Block a user