OTA-esp32.cpp:125:29: error: 'isCapable' is not a member of 'Arduino_ESP32_OTA'
mhavill opened this issue · 1 comments
mhavill commented
I am using an ESP32 WROVER with ArduinoIOTCloud.
I am rebuilding software which was compiling and running fine but now is failing with the following error
Compiling .pio\build\LonelyB-ESP32Wrover\liba5e\ArduinoIoTCloud\utility\ota\OTA-esp32.cpp.o
.pio/libdeps/LonelyB-ESP32Wrover/ArduinoIoTCloud/src/utility/ota/OTA-esp32.cpp: In function 'bool esp32_isOTACapable()':
.pio/libdeps/LonelyB-ESP32Wrover/ArduinoIoTCloud/src/utility/ota/OTA-esp32.cpp:125:29: error: 'isCapable' is not a member of 'Arduino_ESP32_OTA'
return Arduino_ESP32_OTA::isCapable();
^~~~~~~~~
*** [.pio\build\LonelyB-ESP32Wrover\liba5e\ArduinoIoTCloud\utility\ota\OTA-esp32.cpp.o] Error 1
I can work around it simply by returning true
bool esp32_isOTACapable()
{
// return Arduino_ESP32_OTA::isCapable();
return true;
}
Version of OTA downloading is Arduino_ESP32_OTA @ 0.1.1