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
parent
commit
1880d68475
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions
  1. +4
    -4
      code/espurna/espurna.h
  2. +3
    -3
      code/espurna/settings.cpp

+ 4
- 4
code/espurna/espurna.h View File

@ -23,17 +23,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config/all.h"
#include "compat.h"
#include "board.h"
#include "broker.h"
#include "debug.h"
#include "compat.h"
#include "wifi.h"
#include "storage_eeprom.h"
#include "gpio.h"
#include "settings.h"
#include "storage_eeprom.h"
#include "system.h"
#include "terminal.h"
#include "utils.h"
#include "wifi.h"
#include <functional>
#include <algorithm>


+ 3
- 3
code/espurna/settings.cpp View File

@ -8,12 +8,12 @@ Copyright (C) 2016-2019 by Xose Pérez <xose dot perez at gmail dot com>
#include "settings.h"
#include <ArduinoJson.h>
#include <vector>
#include <cstdlib>
// -----------------------------------------------------------------------------
#include <ArduinoJson.h>
#include "storage_eeprom.h"
BrokerBind(ConfigBroker);


Loading…
Cancel
Save