summaryrefslogtreecommitdiff
path: root/firmware/common/dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/dir.h')
-rw-r--r--firmware/common/dir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/common/dir.h b/firmware/common/dir.h
index 274c0b1ea4..0cd35d063b 100644
--- a/firmware/common/dir.h
+++ b/firmware/common/dir.h
@@ -19,6 +19,8 @@
19#ifndef _DIR_H_ 19#ifndef _DIR_H_
20#define _DIR_H_ 20#define _DIR_H_
21 21
22#include <stdbool.h>
23
22#ifndef DIRENT_DEFINED 24#ifndef DIRENT_DEFINED
23 25
24#define ATTR_READ_ONLY 0x01 26#define ATTR_READ_ONLY 0x01
@@ -42,8 +44,10 @@ struct dirent {
42#include "fat.h" 44#include "fat.h"
43 45
44typedef struct { 46typedef struct {
47 bool busy;
45 int startcluster; 48 int startcluster;
46 struct fat_dir fatdir; 49 struct fat_dir fatdir;
50 struct dirent theent;
47} DIR; 51} DIR;
48 52
49#else // SIMULATOR 53#else // SIMULATOR