Clear dir_t size, not pointer size
This commit is contained in:
parent
3fcf915808
commit
7ad33422e3
@ -674,7 +674,7 @@ bool SdBaseFile::open(SdBaseFile* dirFile,
|
||||
index = 0;
|
||||
}
|
||||
// initialize as empty file
|
||||
ZERO(p);
|
||||
memset(p, 0, sizeof(*p));
|
||||
memcpy(p->name, dname, 11);
|
||||
|
||||
// set timestamps
|
||||
|
Loading…
Reference in New Issue
Block a user