diff --git a/applications/services/storage/storage_i.h b/applications/services/storage/storage_i.h index cb7f16e47..a2591c8a7 100644 --- a/applications/services/storage/storage_i.h +++ b/applications/services/storage/storage_i.h @@ -10,7 +10,7 @@ extern "C" { #endif -#define STORAGE_COUNT (ST_INT + 1) +#define STORAGE_COUNT (ST_ERROR - 1) #define APPS_DATA_PATH EXT_PATH("apps_data") #define APPS_ASSETS_PATH EXT_PATH("apps_assets") diff --git a/applications/services/storage/storage_processing.c b/applications/services/storage/storage_processing.c index aa0c3eac1..84d9d0011 100644 --- a/applications/services/storage/storage_processing.c +++ b/applications/services/storage/storage_processing.c @@ -89,7 +89,6 @@ FS_Error storage_get_data(Storage* app, FuriString* path, StorageData** storage) storage_path_change_to_real_storage(path, type); } - furi_assert(type == ST_EXT || type == ST_INT); *storage = &app->storage[type]; return FSE_OK;