Skip to content

Commit 0063972

Browse files
committed
Fix type mismatch in error reporting
1 parent 2bbc9cb commit 0063972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/esp32FOTA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ bool esp32FOTA::execOTA( int partition, bool restart_after )
564564
}
565565

566566
if (!F_UpdateEnd()) {
567-
log_e("An Update Error Occurred. Error #: %s", F_Update.getError());
567+
log_e("An Update Error Occurred. Error #: %d", F_Update.getError());
568568
return false;
569569
}
570570

0 commit comments

Comments
 (0)