Skip to content

Commit 7b48336

Browse files
authored
Merge pull request #395 from pennam/esp_partition
ESP32 OTA: check if device partition table is OTA compatible
2 parents a53a773 + 98ffe0e commit 7b48336

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utility/ota/OTA-esp32.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ String esp32_getOTAImageSHA256()
122122

123123
bool esp32_isOTACapable()
124124
{
125-
/* NOTE: here is possible to check if current partition scheme is OTA compatible */
126-
return true;
125+
return Arduino_ESP32_OTA::isCapable();
127126
}
128127

129128
#endif /* ARDUINO_ARCH_ESP32 */

0 commit comments

Comments
 (0)