some minor formatting

This commit is contained in:
proddy
2020-11-23 13:13:29 +01:00
parent 5345c0b93f
commit 3e86a48e2b
4 changed files with 30 additions and 31 deletions

View File

@@ -87,7 +87,7 @@ class Solar : public EMSdevice {
// telegram 0x380 // telegram 0x380
uint8_t climateZone_ = EMS_VALUE_UINT_NOTSET; // climate zone identifier uint8_t climateZone_ = EMS_VALUE_UINT_NOTSET; // climate zone identifier
uint16_t collector1Area_ = EMS_VALUE_USHORT_NOTSET;// Area of collector field 1 uint16_t collector1Area_ = EMS_VALUE_USHORT_NOTSET; // Area of collector field 1
uint8_t collector1Type_ = EMS_VALUE_UINT_NOTSET; // Type of collector field 1, 01=flat, 02=vacuum uint8_t collector1Type_ = EMS_VALUE_UINT_NOTSET; // Type of collector field 1, 01=flat, 02=vacuum
bool changed_ = false; bool changed_ = false;

View File

@@ -54,7 +54,6 @@ class Switch : public EMSdevice {
uint8_t activated_ = EMS_VALUE_BOOL_NOTSET; uint8_t activated_ = EMS_VALUE_BOOL_NOTSET;
bool changed_ = false; bool changed_ = false;
bool mqtt_ha_config_ = false; // for HA MQTT Discovery bool mqtt_ha_config_ = false; // for HA MQTT Discovery
}; };
} // namespace emsesp } // namespace emsesp

View File

@@ -753,7 +753,7 @@ bool System::check_upgrade() {
bool failed = false; bool failed = false;
File file; File file;
JsonObject network, general, mqtt, custom_settings; JsonObject network, general, mqtt, custom_settings;
StaticJsonDocument<1024> doc; StaticJsonDocument<EMSESP_MAX_JSON_SIZE_LARGE> doc;
// open the system settings: // open the system settings:
// { // {