Skip to content

Commit

Permalink
ESP32 OTA: check if device partition table is OTA compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
pennam committed Nov 22, 2023
1 parent 6a9acc2 commit 98ffe0e
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 98ffe0e

Please sign in to comment.