Skip to content

Commit 6017fc3

Browse files
authored
fix: typo in readme code
1 parent e865dee commit 6017fc3

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)