Allow to change boot delay if serial tft is connected (#17)

This commit is contained in:
Luc
2020-11-06 14:41:17 +01:00
committed by GitHub
parent e30e5687f9
commit 73f39594ea
3 changed files with 7 additions and 3 deletions

View File

@@ -34,9 +34,13 @@
#include "command.h"
Esp3DLib esp3dlib;
#ifndef DELAY_START_ESP3D
#define DELAY_START_ESP3D 100
#endif //DELAY_START_ESP3D
void ESP3DLibTaskfn( void * parameter )
{
Esp3DLibConfig::wait(100); // Yield to other tasks
Esp3DLibConfig::wait(DELAY_START_ESP3D); // Yield to other tasks
WiFiConfig::begin();
for(;;) {
WiFiConfig::handle();