Skip to content

Commit

Permalink
Merge pull request #127 from jnsdrssn/patch-1
Browse files Browse the repository at this point in the history
fix: typo in readme code
  • Loading branch information
chrisjoyce911 committed May 25, 2023
2 parents e865dee + 6017fc3 commit cf98e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ esp32FOTA.setUpdateEndCb( [](int partition) {
- Usage:

```cpp
esp32FOTA.setUpdateCheckFailCb( [](int partition, int error code) {
esp32FOTA.setUpdateCheckFailCb( [](int partition, int error_code) {
Serial.printf("Update could validate %s partition (error %d)\n", partition==U_SPIFFS ? "spiffs" : "firmware", error_code );
// error codes:
// -1 : partition not found
Expand Down

0 comments on commit cf98e40

Please sign in to comment.