Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'applications/debug_tools/file_browser_test/scenes/file_browser_scene_start.c')
-rw-r--r--applications/debug_tools/file_browser_test/scenes/file_browser_scene_start.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/applications/debug_tools/file_browser_test/scenes/file_browser_scene_start.c b/applications/debug_tools/file_browser_test/scenes/file_browser_scene_start.c
index bb71e83d..b3381f0a 100644
--- a/applications/debug_tools/file_browser_test/scenes/file_browser_scene_start.c
+++ b/applications/debug_tools/file_browser_test/scenes/file_browser_scene_start.c
@@ -1,6 +1,8 @@
#include "../file_browser_app_i.h"
-#include "furi_hal.h"
-#include "gui/modules/widget_elements/widget_element_i.h"
+
+#include <furi_hal.h>
+#include <gui/modules/widget_elements/widget_element_i.h>
+#include <storage/storage.h>
static void
file_browser_scene_start_ok_callback(GuiButtonType result, InputType type, void* context) {
@@ -17,7 +19,7 @@ bool file_browser_scene_start_on_event(void* context, SceneManagerEvent event) {
bool consumed = false;
if(event.type == SceneManagerEventTypeCustom) {
- string_set_str(app->file_path, "/any/badusb/demo_windows.txt");
+ string_set_str(app->file_path, ANY_PATH("badusb/demo_windows.txt"));
scene_manager_next_scene(app->scene_manager, FileBrowserSceneBrowser);
consumed = true;
} else if(event.type == SceneManagerEventTypeTick) {