From 2b9c6e9d9cd679384c96bfd162ebd04efb6b581b Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Wed, 29 Mar 2023 12:19:01 +0100 Subject: [PATCH] Expose storage_get_data --- applications/services/storage/storage_processing.c | 2 +- applications/services/storage/storage_processing.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/services/storage/storage_processing.c b/applications/services/storage/storage_processing.c index 2216debc4..b2a00b2c2 100644 --- a/applications/services/storage/storage_processing.c +++ b/applications/services/storage/storage_processing.c @@ -77,7 +77,7 @@ static void storage_path_change_to_real_storage(FuriString* path, StorageType re } } -static FS_Error storage_get_data(Storage* app, FuriString* path, StorageData** storage) { +FS_Error storage_get_data(Storage* app, FuriString* path, StorageData** storage) { StorageType type = storage_get_type_by_path(path); if(storage_type_is_valid(type)) { diff --git a/applications/services/storage/storage_processing.h b/applications/services/storage/storage_processing.h index bb779c7a8..67d16d8f8 100644 --- a/applications/services/storage/storage_processing.h +++ b/applications/services/storage/storage_processing.h @@ -9,6 +9,8 @@ extern "C" { #endif +FS_Error storage_get_data(Storage* app, FuriString* path, StorageData** storage); + void storage_process_message(Storage* app, StorageMessage* message); #ifdef __cplusplus