Skip to content

Commit 59e326f

Browse files
committed
UNOR4 OTA: remove unused variable
1 parent 79eb0ca commit 59e326f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ota/implementation/OTAUnoR4.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ OTACloudProcessInterface::State UNOR4OTACloudProcess::startOTA() {
5858
}
5959

6060
OTACloudProcessInterface::State UNOR4OTACloudProcess::fetch() {
61-
int ota_err = OTAUpdate::OTA_ERROR_NONE;
62-
6361
String fv = WiFi.firmwareVersion();
6462
if(fv >= "0.5.0") {
6563
auto progress = ota.downloadProgress();

0 commit comments

Comments
 (0)