From d316710b3f165e89bdbdce2f7e1409c561cc209b Mon Sep 17 00:00:00 2001 From: Lorenzo Arena Date: Fri, 27 Sep 2024 12:57:58 +0200 Subject: [PATCH] fix(fs): backport add lv_fs_dir_t to lv_fs.h (#6925) (#6943) Co-authored-by: Gabor Kiss-Vamosi --- src/misc/lv_fs.h | 6 ++++++ src/misc/lv_fs_private.h | 6 ------ src/misc/lv_types.h | 2 -- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/misc/lv_fs.h b/src/misc/lv_fs.h index f8ffa1a0e..c6f938b7d 100644 --- a/src/misc/lv_fs.h +++ b/src/misc/lv_fs.h @@ -91,6 +91,12 @@ typedef struct { lv_fs_file_cache_t * cache; } lv_fs_file_t; + +typedef struct { + void * dir_d; + lv_fs_drv_t * drv; +} lv_fs_dir_t; + /********************** * GLOBAL PROTOTYPES **********************/ diff --git a/src/misc/lv_fs_private.h b/src/misc/lv_fs_private.h index e8789e6c0..f8bb4bbd3 100644 --- a/src/misc/lv_fs_private.h +++ b/src/misc/lv_fs_private.h @@ -38,12 +38,6 @@ struct lv_fs_path_ex_t { uint32_t size; }; -struct lv_fs_dir_t { - void * dir_d; - lv_fs_drv_t * drv; -}; - - /********************** * GLOBAL PROTOTYPES **********************/ diff --git a/src/misc/lv_types.h b/src/misc/lv_types.h index 4e02c1366..7c41aa263 100644 --- a/src/misc/lv_types.h +++ b/src/misc/lv_types.h @@ -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_dir_t lv_fs_dir_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;