Skip to content

Commit

Permalink
Fix: add missing return error code in write_byte function
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Oct 16, 2023
1 parent 31220c2 commit c1b621b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Arduino_ESP32_OTA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ static void write_byte(uint8_t data) {
if(_esp_ota_obj_ptr) {
_esp_ota_obj_ptr->write_byte_to_flash(data);
}
return -1;
}

/******************************************************************************
Expand Down

0 comments on commit c1b621b

Please sign in to comment.