summaryrefslogtreecommitdiff
path: root/firmware/common/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/dir.c')
-rw-r--r--firmware/common/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c
index c39164d07f..b0927c09c6 100644
--- a/firmware/common/dir.c
+++ b/firmware/common/dir.c
@@ -49,8 +49,8 @@ DIR* opendir(char* name)
49 } 49 }
50 50
51 /* fixme: strtok() is not thread safe, and fat_getnext() calls yield() */ 51 /* fixme: strtok() is not thread safe, and fat_getnext() calls yield() */
52 for ( part = strtok(name, "/"); part; 52 for ( part = strtok(name, "/"); part;
53 part = strtok(NULL, "/") ) { 53 part = strtok(NULL, "/")) {
54 int partlen = strlen(part); 54 int partlen = strlen(part);
55 /* scan dir for name */ 55 /* scan dir for name */
56 while (1) { 56 while (1) {