Code indention fixes
This commit is contained in:
parent
a50fe16819
commit
9256e7611f
2 changed files with 29 additions and 29 deletions
|
@ -11,7 +11,6 @@
|
||||||
#define SENSOR_ESAVEMODE 6
|
#define SENSOR_ESAVEMODE 6
|
||||||
#define SENSOR_BATCHARGESTATE 7
|
#define SENSOR_BATCHARGESTATE 7
|
||||||
|
|
||||||
|
|
||||||
#define BAT_CHARGE_STATE_CHARGED 2.0
|
#define BAT_CHARGE_STATE_CHARGED 2.0
|
||||||
#define BAT_CHARGE_STATE_CHARGING 1.0
|
#define BAT_CHARGE_STATE_CHARGING 1.0
|
||||||
#define BAT_CHARGE_STATE_NOTCHARGING 0.0
|
#define BAT_CHARGE_STATE_NOTCHARGING 0.0
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
#ifdef HTTP_CALL_SEND_JSON_DATA
|
#ifdef HTTP_CALL_SEND_JSON_DATA
|
||||||
#include <ESP8266HTTPClient.h>
|
#include <ESP8266HTTPClient.h>
|
||||||
#include <UrlEncode.h> // from bib manager UrlEncode by Masayuki
|
#include <UrlEncode.h> // from bib manager UrlEncode 1.0.0 by Masayuki
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//*************************************************************************//
|
//*************************************************************************//
|
||||||
|
@ -44,7 +44,8 @@
|
||||||
const uint8_t VALUES = 8; // see constants.h file - count of number of SENSOR_ defines
|
const uint8_t VALUES = 8; // see constants.h file - count of number of SENSOR_ defines
|
||||||
float currentSensorData[VALUES] = { nanf("no value"), nanf("no value"), nanf("no value"),
|
float currentSensorData[VALUES] = { nanf("no value"), nanf("no value"), nanf("no value"),
|
||||||
nanf("no value"), nanf("no value"), nanf("no value"),
|
nanf("no value"), nanf("no value"), nanf("no value"),
|
||||||
nanf("no value"), nanf("no value") };
|
nanf("no value"), nanf("no value")
|
||||||
|
};
|
||||||
|
|
||||||
uint32_t update_sensor_cnt = 0;
|
uint32_t update_sensor_cnt = 0;
|
||||||
uint32_t update_webserver_cnt = 0;
|
uint32_t update_webserver_cnt = 0;
|
||||||
|
|
Loading…
Reference in a new issue