Skip to content

Commit 98ffe0e

Browse files
committed
ESP32 OTA: check if device partition table is OTA compatible
1 parent 6a9acc2 commit 98ffe0e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utility/ota/OTA-esp32.cpp

Lines changed: 1 addition & 2 deletions
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)