Skip to content

Commit

Permalink
Reorder and rename OTA error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Oct 24, 2023
1 parent 31220c2 commit 1930acc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Arduino_ESP32_OTA.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ class Arduino_ESP32_OTA
None = 0,
NoOtaStorage = -2,
OtaStorageInit = -3,
OtaStorageEnd = -4,
UrlParseError = -5,
ServerConnectError = -6,
HttpHeaderError = -7,
OtaHeaderLength = -5,
OtaHeaderCrc = -6,
OtaHeaterMagicNumber = -7,
ParseHttpHeader = -8,
OtaHeaderLength = -9,
OtaHeaderCrc = -10,
OtaHeaterMagicNumber = -11,
UrlParse = -9,
ServerConnect = -10,
HttpHeader = -11,
OtaDownload = -12,
OtaHeaderTimeout = -13,
HttpResponse = -14
HttpResponse = -14,
OtaStorageEnd = -15,
};

Arduino_ESP32_OTA();
Expand Down

0 comments on commit 1930acc

Please sign in to comment.