We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf2080 commit 967e826Copy full SHA for 967e826
src/Arduino_ESP32_OTA.cpp
@@ -189,7 +189,7 @@ int Arduino_ESP32_OTA::download(const char * ota_url)
189
return static_cast<int>(Error::OtaHeaderLength);
190
}
191
192
- if (_ota_header.header.magic_number != 0x00000000)
+ if (_ota_header.header.magic_number != 0x45535033)
193
{
194
return static_cast<int>(Error::OtaHeaterMagicNumber);
195
0 commit comments