Userdata export: Fix regression in generating FAT in multiple steps.

This commit is contained in:
Ari Sundholm committed 2020-11-24 23:50:05 +02:00
1 parent 67a64693c1
commit c5c3d28b48
2 files changed
+5349 -5348

No files matched your search

File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -128,7 +128,7 @@ alt_u16 generate_fat16(alt_u8 *const fat, const alt_u16 written) {
fat[cur_ofs++] = 0xff;
fat[cur_ofs++] = 0xff;
}
return end_cluster;
return end_cluster - 3U;
}
const alt_u8 prof_dirent_16[PROF_DIRENT_16_SIZE] = {