Fix to allow compilation of minicustom32

This commit is contained in:
Stephan Hadinger 2022-01-16 21:34:29 +01:00
parent dcaa19d7a0
commit 23c2efbe8f
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,6 @@
#ifdef ESP32 #ifdef ESP32
#include "tasmota_options.h" #include "tasmota_options.h"
#ifdef USE_BERRY
#include <Arduino.h> #include <Arduino.h>
#ifdef HTTPCLIENT_1_1_COMPATIBLE #ifdef HTTPCLIENT_1_1_COMPATIBLE
@ -1504,5 +1503,4 @@ const String &HTTPClientLight::getLocation(void)
{ {
return _location; return _location;
} }
#endif // USE_BERRY
#endif // ESP32 #endif // ESP32

View File

@ -17,6 +17,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#if defined(ESP32) && defined(USE_WEBCLIENT_HTTPS)
#include "HttpClientLight.h"
#endif
const char kSleepMode[] PROGMEM = "Dynamic|Normal"; const char kSleepMode[] PROGMEM = "Dynamic|Normal";
const char kPrefixes[] PROGMEM = D_CMND "|" D_STAT "|" D_TELE; const char kPrefixes[] PROGMEM = D_CMND "|" D_STAT "|" D_TELE;