diff options
Diffstat (limited to 'firmware/common/dir.c')
-rw-r--r-- | firmware/common/dir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c index acc412c570..f7f61719a2 100644 --- a/firmware/common/dir.c +++ b/firmware/common/dir.c | |||
@@ -18,14 +18,14 @@ | |||
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | #include <stdio.h> | 19 | #include <stdio.h> |
20 | #include <string.h> | 20 | #include <string.h> |
21 | #include <stdbool.h> | ||
21 | #include "fat.h" | 22 | #include "fat.h" |
22 | #include "dir.h" | 23 | #include "dir.h" |
23 | #include "debug.h" | 24 | #include "debug.h" |
24 | #include "types.h" | ||
25 | 25 | ||
26 | static DIR thedir; | 26 | static DIR thedir; |
27 | static struct dirent theent; | 27 | static struct dirent theent; |
28 | static bool busy=FALSE; | 28 | static bool busy=false; |
29 | 29 | ||
30 | DIR* opendir(char* name) | 30 | DIR* opendir(char* name) |
31 | { | 31 | { |
@@ -70,14 +70,14 @@ DIR* opendir(char* name) | |||
70 | } | 70 | } |
71 | } | 71 | } |
72 | 72 | ||
73 | busy = TRUE; | 73 | busy = true; |
74 | 74 | ||
75 | return &thedir; | 75 | return &thedir; |
76 | } | 76 | } |
77 | 77 | ||
78 | int closedir(DIR* dir) | 78 | int closedir(DIR* dir) |
79 | { | 79 | { |
80 | busy=FALSE; | 80 | busy=false; |
81 | return 0; | 81 | return 0; |
82 | } | 82 | } |
83 | 83 | ||