Skip to content

Commit

Permalink
Merge pull request #395 from pennam/esp_partition
Browse files Browse the repository at this point in the history
ESP32 OTA: check if device partition table is OTA compatible
  • Loading branch information
pennam authored Nov 24, 2023
2 parents a53a773 + 98ffe0e commit 7b48336
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utility/ota/OTA-esp32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ String esp32_getOTAImageSHA256()

bool esp32_isOTACapable()
{
/* NOTE: here is possible to check if current partition scheme is OTA compatible */
return true;
return Arduino_ESP32_OTA::isCapable();
}

#endif /* ARDUINO_ARCH_ESP32 */

0 comments on commit 7b48336

Please sign in to comment.