Skip to content

Commit

Permalink
[Build] Fix building ESP8266 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
TD-er committed Dec 16, 2024
1 parent 7227fe7 commit ff979d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/src/DataStructs/Web_StreamingBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ void Web_StreamingBuffer::startStream(bool allowOriginAll,
buf.clear();
buf.reserve(CHUNKED_BUFFER_SIZE);
web_server.client().setNoDelay(true);
#ifdef ESP32
web_server.client().setSSE(false);
#endif

if (beforeTXRam < 3000) {
lowMemorySkip = true;
Expand Down
3 changes: 2 additions & 1 deletion src/src/ESPEasyCore/Controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,10 @@ bool MQTTConnect(controllerIndex_t controller_idx)

// mqtt = WiFiClient(); // workaround see: https://github.com/esp8266/Arduino/issues/4497#issuecomment-373023864
delay(0);
# if FEATURE_MQTT_TLS

uint16_t mqttPort = ControllerSettings->Port;

# if FEATURE_MQTT_TLS
mqtt_tls_last_errorstr.clear();
mqtt_tls_last_error = 0;
const TLS_types TLS_type = ControllerSettings->TLStype();
Expand Down

0 comments on commit ff979d3

Please sign in to comment.