1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Increase async FAT filesystem cache sectors to prevent blackbox header corruption (#8284)

Increase async FAT filesystem cache sectors to prevent blackbox header corruption
This commit is contained in:
Michael Keller 2019-05-18 19:13:28 +12:00 committed by GitHub
commit 197796873d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@
#define ONLY_EXPOSE_FOR_TESTING static #define ONLY_EXPOSE_FOR_TESTING static
#endif #endif
#define AFATFS_NUM_CACHE_SECTORS 8 #define AFATFS_NUM_CACHE_SECTORS 10
// FAT filesystems are allowed to differ from these parameters, but we choose not to support those weird filesystems: // FAT filesystems are allowed to differ from these parameters, but we choose not to support those weird filesystems:
#define AFATFS_SECTOR_SIZE 512 #define AFATFS_SECTOR_SIZE 512