1
0
镜像自地址 https://github.com/s00500/ESPUI.git 已同步 2025-09-16 10:22:09 +00:00

Fixes to the startup sequence to fix file system errors.

这个提交包含在:
MartinMueller2003
2024-03-26 16:04:55 -04:00
父节点 f2146309fe
当前提交 7dc51d1274

查看文件

@@ -287,18 +287,18 @@ void setup(void)
*/ */
ESPUI.sliderContinuous = true; ESPUI.sliderContinuous = true;
#ifdef TEST_FILEDISPLAY
ESPUI.prepareFileSystem(); ESPUI.prepareFileSystem();
// create a text file ESPUI.beginLITTLEFS("ESPUI Control");
ESPUI.writeFile("/DisplayFile.txt", "Test Line\n");
// these files are used by browsers to auto config a connection. // these files are used by browsers to auto config a connection.
ESPUI.writeFile("/wpad.dat", " "); ESPUI.writeFile("/wpad.dat", " ");
ESPUI.writeFile("/connecttest.txt", " "); ESPUI.writeFile("/connecttest.txt", " ");
#endif // def TEST_FILEDISPLAY
ESPUI.beginLITTLEFS("ESPUI Control"); #ifdef TEST_FILEDISPLAY
// create a text file
ESPUI.writeFile("/DisplayFile.txt", "Test Line\n");
#endif // def TEST_FILEDISPLAY
} }
void loop(void) void loop(void)