Merge branch 'fz-dev' into dev

This commit is contained in:
MX
2023-03-20 20:04:22 +03:00
73 changed files with 333 additions and 246 deletions

View File

@@ -77,7 +77,7 @@ static void storage_path_change_to_real_storage(FuriString* path, StorageType re
}
}
FS_Error storage_get_data(Storage* app, FuriString* path, StorageData** storage) {
static 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)) {

View File

@@ -618,6 +618,8 @@ static const FS_Api fs_api = {
};
void storage_ext_init(StorageData* storage) {
fatfs_init();
SDData* sd_data = malloc(sizeof(SDData));
sd_data->fs = &fatfs_object;
sd_data->path = "0:/";