mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
Fix ESP32 example
This commit is contained in:
1 parent
0ed64707f3
commit
b20eded30e
7 files changed
+70
-112
No files matched your search
+1
-1
@@ -41,7 +41,7 @@ static time_t ff_time_to_epoch(uint16_t fdate, uint16_t ftime) {
|
||||
|
||||
static int ff_stat(const char *path, size_t *size, time_t *mtime) {
|
||||
FILINFO fi;
|
||||
if (path[0] == '\0' || strcmp(path, MG_FATFS_ROOT) == 0) {
|
||||
if (path[0] == '\0') {
|
||||
if (size) *size = 0;
|
||||
if (mtime) *mtime = 0;
|
||||
return MG_FS_DIR;
|
||||
|
||||
Reference in new issue
Block a user