mirror of https://github.com/arendst/Tasmota.git
Fix statistics
This commit is contained in:
parent
ad5f3ead1f
commit
bfe2dc68cb
|
@ -437,7 +437,7 @@ struct SYSCFG {
|
|||
uint8_t web_color2[2][3]; // EA0 - Needs to be on integer / 3 distance from web_color
|
||||
char cors_domain[33]; // EA6
|
||||
|
||||
uint8_t free_ec1[293]; // EC1
|
||||
uint8_t free_ec7[293]; // EC7
|
||||
|
||||
uint32_t i2c_drivers[3]; // FEC I2cDriver
|
||||
uint32_t cfg_timestamp; // FF8
|
||||
|
|
|
@ -43,6 +43,9 @@ void StatisticsChar(const char* text)
|
|||
|
||||
String GetStatistics(void)
|
||||
{
|
||||
Stats.str_len = 0;
|
||||
Stats.str_char = 0;
|
||||
|
||||
for (uint32_t i = 0; i < 2; i++) {
|
||||
StatisticsChar(Settings.sta_ssid[i]);
|
||||
StatisticsChar(Settings.sta_pwd[i]);
|
||||
|
|
Loading…
Reference in New Issue