Browse Source
espurna.h: reorder essentials (#2254)
- compat.h right after config
- remove broker.h from global header
- add 'hint' about eeprom methods into settings
mcspr-patch-1
Max Prokhorov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
7 deletions
-
code/espurna/espurna.h
-
code/espurna/settings.cpp
|
@ -23,17 +23,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
|
|
|
|
|
#include "config/all.h" |
|
|
#include "config/all.h" |
|
|
|
|
|
|
|
|
|
|
|
#include "compat.h" |
|
|
|
|
|
|
|
|
#include "board.h" |
|
|
#include "board.h" |
|
|
#include "broker.h" |
|
|
|
|
|
#include "debug.h" |
|
|
#include "debug.h" |
|
|
#include "compat.h" |
|
|
|
|
|
#include "wifi.h" |
|
|
|
|
|
#include "storage_eeprom.h" |
|
|
|
|
|
#include "gpio.h" |
|
|
#include "gpio.h" |
|
|
#include "settings.h" |
|
|
#include "settings.h" |
|
|
|
|
|
#include "storage_eeprom.h" |
|
|
#include "system.h" |
|
|
#include "system.h" |
|
|
#include "terminal.h" |
|
|
#include "terminal.h" |
|
|
#include "utils.h" |
|
|
#include "utils.h" |
|
|
|
|
|
#include "wifi.h" |
|
|
|
|
|
|
|
|
#include <functional> |
|
|
#include <functional> |
|
|
#include <algorithm> |
|
|
#include <algorithm> |
|
|
|
@ -8,12 +8,12 @@ Copyright (C) 2016-2019 by Xose Pérez <xose dot perez at gmail dot com> |
|
|
|
|
|
|
|
|
#include "settings.h"
|
|
|
#include "settings.h"
|
|
|
|
|
|
|
|
|
#include <ArduinoJson.h>
|
|
|
|
|
|
#include <vector>
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
#include <cstdlib>
|
|
|
#include <cstdlib>
|
|
|
|
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
#include <ArduinoJson.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include "storage_eeprom.h"
|
|
|
|
|
|
|
|
|
BrokerBind(ConfigBroker); |
|
|
BrokerBind(ConfigBroker); |
|
|
|
|
|
|
|
|