Small code fix in storage

This commit is contained in:
Willy-JL
2024-02-19 20:51:47 +00:00
parent 46fba20097
commit d49e5d1fbe
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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")
@@ -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;