|
@@ -65,7 +65,6 @@ public:
|
65
|
65
|
void updir();
|
66
|
66
|
void setroot();
|
67
|
67
|
|
68
|
|
-
|
69
|
68
|
FORCE_INLINE bool isFileOpen() { return file.isOpen(); }
|
70
|
69
|
FORCE_INLINE bool eof() { return sdpos >= filesize; }
|
71
|
70
|
FORCE_INLINE int16_t get() { sdpos = file.curPosition(); return (int16_t)file.read(); }
|
|
@@ -90,9 +89,9 @@ private:
|
90
|
89
|
uint32_t filespos[SD_PROCEDURE_DEPTH];
|
91
|
90
|
char proc_filenames[SD_PROCEDURE_DEPTH][MAXPATHNAMELENGTH];
|
92
|
91
|
uint32_t filesize;
|
93
|
|
- millis_t next_autostart_ms;
|
94
|
92
|
uint32_t sdpos;
|
95
|
93
|
|
|
94
|
+ millis_t next_autostart_ms;
|
96
|
95
|
bool autostart_stilltocheck; //the sd start is delayed, because otherwise the serial cannot answer fast enought to make contact with the hostsoftware.
|
97
|
96
|
|
98
|
97
|
LsAction lsAction; //stored for recursion.
|