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.c8
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
26static DIR thedir; 26static DIR thedir;
27static struct dirent theent; 27static struct dirent theent;
28static bool busy=FALSE; 28static bool busy=false;
29 29
30DIR* opendir(char* name) 30DIR* 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
78int closedir(DIR* dir) 78int closedir(DIR* dir)
79{ 79{
80 busy=FALSE; 80 busy=false;
81 return 0; 81 return 0;
82} 82}
83 83