Browse Source
Merge pull request #1542 from mcspr/settings/fix-late-setup
Setup settings before using them in system module
sensors
Xose Pérez
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
code/espurna/espurna.ino
|
@ -64,12 +64,12 @@ void setup() { |
|
|
// Init EEPROM
|
|
|
// Init EEPROM
|
|
|
eepromSetup(); |
|
|
eepromSetup(); |
|
|
|
|
|
|
|
|
// Init Serial, SPIFFS and system check
|
|
|
|
|
|
systemSetup(); |
|
|
|
|
|
|
|
|
|
|
|
// Init persistance
|
|
|
// Init persistance
|
|
|
settingsSetup(); |
|
|
settingsSetup(); |
|
|
|
|
|
|
|
|
|
|
|
// Init Serial, SPIFFS and system check
|
|
|
|
|
|
systemSetup(); |
|
|
|
|
|
|
|
|
// Init terminal features
|
|
|
// Init terminal features
|
|
|
#if TERMINAL_SUPPORT
|
|
|
#if TERMINAL_SUPPORT
|
|
|
terminalSetup(); |
|
|
terminalSetup(); |
|
|