Skip to content

Commit cf98e40

Browse files
Merge pull request #127 from jnsdrssn/patch-1
fix: typo in readme code
2 parents e865dee + 6017fc3 commit cf98e40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ esp32FOTA.setUpdateEndCb( [](int partition) {
426426
- Usage:
427427

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

0 commit comments

Comments
 (0)