From 7dc7b631d46348fd902eaa5943281afc7c7b1983 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 29 Apr 2020 14:18:38 +0200 Subject: [PATCH] Fix ESP32 settings size Fix ESP32 settings size as regression from yesterday --- tasmota/settings.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tasmota/settings.h b/tasmota/settings.h index e5c9800fd..f4139a748 100644 --- a/tasmota/settings.h +++ b/tasmota/settings.h @@ -362,12 +362,15 @@ struct { char ex_friendlyname[4][33]; // 3AC char ex_switch_topic[33]; // 430 #else // ESP32 -#ifdef FINAL_ESP32 +#ifndef FINAL_ESP32 + char ex_friendlyname[4][33]; // 3AC + char ex_switch_topic[33]; // 430 +#else // FINAL_ESP32 myio my_gp; // 3AC - 2 x 40 bytes (ESP32) mytmplt user_template; // 3FC - 2 x 37 bytes (ESP32) uint8_t free_esp32_446[11]; // 446 -#endif +#endif // FINAL_ESP32 #endif // ESP8266 - ESP32 char serial_delimiter; // 451 @@ -420,7 +423,9 @@ struct { mytmplt user_template; // 580 - 37 bytes (ESP32) uint8_t free_esp32_5a5[23]; // 5A5 -#endif +#else // FINAL_ESP32 + char ex_mqtt_fulltopic[100]; // 558 +#endif // FINAL_ESP32 #endif // ESP8266 - ESP32 SysBitfield2 flag2; // 5BC