sdutil Initialize CHS too (some BIOSes dont like it), libfat Add update callback function
All checks were successful
Build documentation / build-and-deploy (push) Successful in 4m33s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 4m33s
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef _KERNEL_FS_FATFS_CTX_H
|
||||
#define _KERNEL_FS_FATFS_CTX_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
struct fatfs_ctx {
|
||||
FL_FILE _files[FATFS_MAX_OPEN_FILES];
|
||||
int _filelib_init;
|
||||
@@ -9,6 +11,7 @@ struct fatfs_ctx {
|
||||
struct fat_list _open_file_list;
|
||||
struct fat_list _free_file_list;
|
||||
char device_name[0x100];
|
||||
void (*update_cb) (size_t sector, size_t sector_count);
|
||||
};
|
||||
|
||||
#endif // _KERNEL_FS_FATFS_CTX_H
|
||||
|
||||
Reference in New Issue
Block a user