diff --git a/esp8266_deauther/DisplayUI.h b/esp8266_deauther/DisplayUI.h index 2f77d61..372c0d0 100644 --- a/esp8266_deauther/DisplayUI.h +++ b/esp8266_deauther/DisplayUI.h @@ -43,7 +43,7 @@ extern String replaceUtf8(String str, String r); #define DRAW_INTERVAL 100 // 100ms = 10 FPS #define CHARS_PER_LINE 17 #define SCROLL_SPEED 5 -#define SCREEN_INTRO_TIME 3000 +#define SCREEN_INTRO_TIME 2500 // ====================== // struct Menu; diff --git a/esp8266_deauther/esp8266_deauther.ino b/esp8266_deauther/esp8266_deauther.ino index e449f02..a28e6d4 100644 --- a/esp8266_deauther/esp8266_deauther.ino +++ b/esp8266_deauther/esp8266_deauther.ino @@ -92,16 +92,16 @@ void setup() { // load settings settings.load(); - - // copy web files to SPIFFS - copyWebFiles(false); - + // start display if (settings.getDisplayInterface()){ displayUI.setup(); displayUI.mode = SCREEN_MODE_INTRO; } + // copy web files to SPIFFS + copyWebFiles(false); + // load everything else names.load(); ssids.load();