diff options
Diffstat (limited to 'firmware/common/dir.c')
-rw-r--r-- | firmware/common/dir.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c index 45749b8474..9a78d910a7 100644 --- a/firmware/common/dir.c +++ b/firmware/common/dir.c | |||
@@ -344,3 +344,9 @@ struct dirinfo dir_get_info(DIR *dirp, struct dirent *entry) | |||
344 | file_error: | 344 | file_error: |
345 | return (struct dirinfo){ .attribute = 0 }; | 345 | return (struct dirinfo){ .attribute = 0 }; |
346 | } | 346 | } |
347 | |||
348 | const char* root_realpath(void) | ||
349 | { | ||
350 | /* Native only, for APP and SIM see respective filesystem-.c files */ | ||
351 | return root_get_realpath(); /* rb_namespace.c */ | ||
352 | } | ||