fix(fs): backport add lv_fs_dir_t to lv_fs.h (#6925) (#6943)

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
Lorenzo Arena
2024-09-27 12:57:58 +02:00
committed by GitHub
parent a80da28224
commit d316710b3f
3 changed files with 6 additions and 8 deletions

View File

@@ -91,6 +91,12 @@ typedef struct {
lv_fs_file_cache_t * cache; lv_fs_file_cache_t * cache;
} lv_fs_file_t; } lv_fs_file_t;
typedef struct {
void * dir_d;
lv_fs_drv_t * drv;
} lv_fs_dir_t;
/********************** /**********************
* GLOBAL PROTOTYPES * GLOBAL PROTOTYPES
**********************/ **********************/

View File

@@ -38,12 +38,6 @@ struct lv_fs_path_ex_t {
uint32_t size; uint32_t size;
}; };
struct lv_fs_dir_t {
void * dir_d;
lv_fs_drv_t * drv;
};
/********************** /**********************
* GLOBAL PROTOTYPES * GLOBAL PROTOTYPES
**********************/ **********************/

View File

@@ -139,8 +139,6 @@ typedef struct lv_fs_file_cache_t lv_fs_file_cache_t;
typedef struct lv_fs_path_ex_t lv_fs_path_ex_t; typedef struct lv_fs_path_ex_t lv_fs_path_ex_t;
typedef struct lv_fs_dir_t lv_fs_dir_t;
typedef struct lv_image_decoder_args_t lv_image_decoder_args_t; typedef struct lv_image_decoder_args_t lv_image_decoder_args_t;
typedef struct lv_image_cache_data_t lv_image_cache_data_t; typedef struct lv_image_cache_data_t lv_image_cache_data_t;