remove preprocessor directive

pull/178/head
David Maixner 5 years ago
parent 8b1f970327
commit 2b2a35844c
  1. 11
      src/AutoConnectLabels.h
  2. 6
      src/AutoConnectPage.h

@ -15,17 +15,6 @@
* default value. The lower row is an alternative label string as * default value. The lower row is an alternative label string as
* a sample and can be changed you wish. * a sample and can be changed you wish.
* *
* To define new language, just create new AutoConnectLabels_lang.h
* file with your translation and then you can use it, by adding
* directive to building process.
*
* E.g. for PlatformIO you can add to your environment in
* platformio.ini this build_flag:
* ```
* build_flags =
* '-D_AUTOCONNECTLABELSLANG_="AutoConnectLabels_lang.h"'
* ```
*
* Notes: * Notes:
* You can find some tokens for the PageBuilder if you parse * You can find some tokens for the PageBuilder if you parse
* AutoConnectPage.cpp. Some of the tokens are valid at the time * AutoConnectPage.cpp. Some of the tokens are valid at the time

@ -10,11 +10,7 @@
#ifndef _AUTOCONNECTPAGE_H_ #ifndef _AUTOCONNECTPAGE_H_
#define _AUTOCONNECTPAGE_H_ #define _AUTOCONNECTPAGE_H_
#ifndef _AUTOCONNECTLABELSLANG_ #include "AutoConnectLabels.h"
#include "AutoConnectLabels.h"
#else
#include _AUTOCONNECTLABELSLANG_
#endif
#define AUTOCONNECT_PARAMID_SSID "SSID" #define AUTOCONNECT_PARAMID_SSID "SSID"
#define AUTOCONNECT_PARAMID_PASS "Passphrase" #define AUTOCONNECT_PARAMID_PASS "Passphrase"

Loading…
Cancel
Save