Skip to content

Commit 68318d9

Browse files
committed
Make write_byte_to_flash virtual
1 parent 701abe0 commit 68318d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Arduino_ESP32_OTA.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Arduino_ESP32_OTA
7878
void setCACertBundle(const uint8_t * bundle);
7979
int download(const char * ota_url);
8080
uint8_t read_byte_from_network();
81-
void write_byte_to_flash(uint8_t data);
81+
virtual void write_byte_to_flash(uint8_t data);
8282
Arduino_ESP32_OTA::Error update();
8383
void reset();
8484

0 commit comments

Comments
 (0)