Remove file expand, use seek for mass storage

This commit is contained in:
Willy-JL
2023-08-29 01:33:31 +02:00
parent 8bdbdaa6f5
commit 54804fcc66
10 changed files with 26 additions and 92 deletions

View File

@@ -2695,7 +2695,6 @@ Function,+,storage_file_close,_Bool,File*
Function,+,storage_file_copy_to_file,_Bool,"File*, File*, uint32_t"
Function,+,storage_file_eof,_Bool,File*
Function,+,storage_file_exists,_Bool,"Storage*, const char*"
Function,+,storage_file_expand,_Bool,"File*, uint64_t"
Function,+,storage_file_free,void,File*
Function,+,storage_file_get_error,FS_Error,File*
Function,+,storage_file_get_error_desc,const char*,File*
1 entry status name type params
2695 Function + storage_file_copy_to_file _Bool File*, File*, uint32_t
2696 Function + storage_file_eof _Bool File*
2697 Function + storage_file_exists _Bool Storage*, const char*
Function + storage_file_expand _Bool File*, uint64_t
2698 Function + storage_file_free void File*
2699 Function + storage_file_get_error FS_Error File*
2700 Function + storage_file_get_error_desc const char* File*

View File

@@ -68,7 +68,7 @@
#define _USE_FASTSEEK 1
/* This option switches fast seek feature. (0:Disable or 1:Enable) */
#define _USE_EXPAND 1
#define _USE_EXPAND 0
/* This option switches f_expand function. (0:Disable or 1:Enable) */
#define _USE_CHMOD 0