We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 642c99a commit 03d0522Copy full SHA for 03d0522
1 file changed
wled00/ota_update.cpp
@@ -466,10 +466,6 @@ static void invalidateBootloaderSHA256Cache() {
466
* @return true if validation passed, false otherwise
467
*/
468
static bool verifyBootloaderImage(const uint8_t* &buffer, size_t &len, String& bootloaderErrorMsg) {
469
- if (!bootloaderErrorMsg) {
470
- DEBUG_PRINTLN(F("bootloaderErrorMsg is null"));
471
- return false;
472
- }
473
const size_t MIN_IMAGE_HEADER_SIZE = sizeof(esp_image_header_t);
474
475
// 1. Validate minimum size for header
0 commit comments