We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 254f128 commit 972b4dbCopy full SHA for 972b4db
esp3d/src/include/version.h
@@ -22,7 +22,7 @@
22
#define _VERSION_ESP3D_H
23
24
//version and sources location
25
-#define FW_VERSION "3.0.0.a106"
+#define FW_VERSION "3.0.0.a107"
26
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
27
28
#endif //_VERSION_ESP3D_H
esp3d/src/modules/filesystem/flash/fat_esp32_filesystem.cpp
@@ -257,7 +257,8 @@ void ESP_File::close()
257
//reopen if mode = write
258
//udate size + date
259
if (_iswritemode && !_isdir) {
260
- File ftmp = FFat.open(_filename.c_str());
+ String s = _filename[0]=='/'?"":"/" + _filename;
261
+ File ftmp = FFat.open(s.c_str());
262
if (ftmp) {
263
_size = ftmp.size();
264
_lastwrite = ftmp.getLastWrite();
0 commit comments