Add OTA upload compression for ESP8266 (#2601)

This commit is contained in:
Otto Winter
2021-10-22 13:02:55 +02:00
committed by Otto winter
parent 42873dd37c
commit 5be52f71f9
7 changed files with 42 additions and 16 deletions
@@ -17,6 +17,7 @@ class IDFOTABackend : public OTABackend {
OTAResponseTypes write(uint8_t *data, size_t len) override;
OTAResponseTypes end() override;
void abort() override;
bool supports_compression() override { return false; }
private:
esp_ota_handle_t update_handle_{0};