mirror of
https://github.com/SpacehuhnTech/esp8266_deauther.git
synced 2025-12-22 07:10:51 -08:00
Init display before copying spiffs + shorter startscreen
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -93,15 +93,15 @@ 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();
|
||||
|
||||
Reference in New Issue
Block a user