update uf2 index url, add UF2_ prefix for volume lable and index url

This commit is contained in:
hathach
2019-04-24 16:31:08 +07:00
parent 4ec938230d
commit 137785f2f0
13 changed files with 47 additions and 53 deletions

View File

@ -71,7 +71,7 @@ const char indexFile[] = //
"<html>"
"<body>"
"<script>\n"
"location.replace(\"" INDEX_URL "\");\n"
"location.replace(\"" UF2_INDEX_URL "\");\n"
"</script>"
"</body>"
"</html>\n";
@ -131,7 +131,7 @@ static FAT_BootBlock const BootBlock = {
.PhysicalDriveNum = 0x80, // to match MediaDescriptor of 0xF8
.ExtendedBootSig = 0x29,
.VolumeSerialNumber = 0x00420042,
.VolumeLabel = VOLUME_LABEL,
.VolumeLabel = UF2_VOLUME_LABEL,
.FilesystemIdentifier = "FAT16 ",
};