diff --git a/library.properties b/library.properties index a9ab51e..c280781 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ESP3DLib -version=1.0.8 +version=1.0.9 author=Luc Lebosse maintainer=Luc Lebosse, sentence=A 3D printer front end for ESP boards. diff --git a/src/esp3dlib.cpp b/src/esp3dlib.cpp index f6e3648..8362bed 100644 --- a/src/esp3dlib.cpp +++ b/src/esp3dlib.cpp @@ -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(); diff --git a/src/esp3dlibconfig.h b/src/esp3dlibconfig.h index b9ec66e..b787270 100644 --- a/src/esp3dlibconfig.h +++ b/src/esp3dlibconfig.h @@ -28,7 +28,7 @@ #undef DISABLED #undef _BV //version -#define LIB_VERSION "1.0.8" +#define LIB_VERSION "1.0.9" //Allow to override the default core used by ESP3DLIB #ifndef ESP3DLIB_RUNNING_CORE