summaryrefslogtreecommitdiff
path: root/apps/plugins/test_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_disk.c')
-rw-r--r--apps/plugins/test_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c
index 6d5ea29d57..7c46101ebc 100644
--- a/apps/plugins/test_disk.c
+++ b/apps/plugins/test_disk.c
@@ -24,7 +24,7 @@
24 24
25 25
26 26
27#define TESTBASEDIR "/__TEST__" 27#define TESTBASEDIR HOME_DIR "/__TEST__"
28#define TEST_FILE TESTBASEDIR "/test_disk.tmp" 28#define TEST_FILE TESTBASEDIR "/test_disk.tmp"
29#define FRND_SEED 0x78C3 /* arbirary */ 29#define FRND_SEED 0x78C3 /* arbirary */
30 30
@@ -83,7 +83,7 @@ static bool log_init(void)
83 rb->lcd_clear_display(); 83 rb->lcd_clear_display();
84 rb->lcd_update(); 84 rb->lcd_update();
85 85
86 rb->create_numbered_filename(logfilename, "/", "test_disk_log_", ".txt", 86 rb->create_numbered_filename(logfilename, HOME_DIR, "test_disk_log_", ".txt",
87 2 IF_CNFN_NUM_(, NULL)); 87 2 IF_CNFN_NUM_(, NULL));
88 log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC, 0666); 88 log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC, 0666);
89 return log_fd >= 0; 89 return log_fd >= 0;