From e713670fa4cc579368d26e2a91b984c4c2474a1c 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 cf2f0f8..aeeefde 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();