summaryrefslogtreecommitdiff
path: root/firmware/common/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/file.c')
-rw-r--r--firmware/common/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/common/file.c b/firmware/common/file.c
index 9d18c61..3b7a889 100644
--- a/firmware/common/file.c
+++ b/firmware/common/file.c
@@ -18,9 +18,9 @@
****************************************************************************/
#include <string.h>
#include <errno.h>
+#include <stdbool.h>
#include "file.h"
#include "fat.h"
-#include "types.h"
#include "dir.h"
#include "debug.h"
@@ -111,13 +111,13 @@ int open(char* pathname, int flags)
openfiles[fd].cacheoffset = -1;
openfiles[fd].fileoffset = 0;
- openfiles[fd].busy = TRUE;
+ openfiles[fd].busy = true;
return fd;
}
int close(int fd)
{
- openfiles[fd].busy = FALSE;
+ openfiles[fd].busy = false;
return 0;
}