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 335daf8 commit 1e3d7d5Copy full SHA for 1e3d7d5
src/ota/implementation/OTAEsp32.cpp
@@ -89,10 +89,6 @@ void ESP32OTACloudProcess::calculateSHA256(SHA256& sha256_calc) {
89
sha256_calc.begin();
90
91
uint8_t b[SPI_FLASH_SEC_SIZE];
92
- if(b == nullptr) {
93
- DEBUG_VERBOSE("ESP32::SHA256 Not enough memory to allocate buffer");
94
- return; // TODO error reporting
95
- }
96
97
uint32_t read_bytes = 0;
98
uint32_t const app_size = ESP.getSketchSize();
0 commit comments