mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-29 21:52:03 -07:00
Small code fix in storage
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user