From cea2dbb1bb2d94f1e3402b54f53494402f264590 Mon Sep 17 00:00:00 2001 From: pennam Date: Thu, 19 Oct 2023 11:41:10 +0200 Subject: [PATCH] Make write_byte_to_flash virtual --- src/Arduino_ESP32_OTA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Arduino_ESP32_OTA.h b/src/Arduino_ESP32_OTA.h index 8c803aa..34046d8 100644 --- a/src/Arduino_ESP32_OTA.h +++ b/src/Arduino_ESP32_OTA.h @@ -78,7 +78,7 @@ class Arduino_ESP32_OTA void setCACertBundle(const uint8_t * bundle); int download(const char * ota_url); uint8_t read_byte_from_network(); - void write_byte_to_flash(uint8_t data); + virtual void write_byte_to_flash(uint8_t data); Arduino_ESP32_OTA::Error update(); void reset(); static bool isCapable();