Skip to content

Commit 342af3d

Browse files
authored
Merge pull request #14481 from s-hadinger/fix_minicustom32
Fix to allow compilation of minicustom32
2 parents b296741 + 23c2efb commit 342af3d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/libesp32/Berry-HttpClientLight/src/HttpClientLight.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#ifdef ESP32
2929
#include "tasmota_options.h"
3030

31-
#ifdef USE_BERRY
3231
#include <Arduino.h>
3332

3433
#ifdef HTTPCLIENT_1_1_COMPATIBLE
@@ -1504,5 +1503,4 @@ const String &HTTPClientLight::getLocation(void)
15041503
{
15051504
return _location;
15061505
}
1507-
#endif // USE_BERRY
15081506
#endif // ESP32

tasmota/support_tasmota.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

20+
#if defined(ESP32) && defined(USE_WEBCLIENT_HTTPS)
21+
#include "HttpClientLight.h"
22+
#endif
23+
2024
const char kSleepMode[] PROGMEM = "Dynamic|Normal";
2125
const char kPrefixes[] PROGMEM = D_CMND "|" D_STAT "|" D_TELE;
2226

0 commit comments

Comments
 (0)