You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got the subject error message compiling in platformio IDE...
.pio/libdeps/ratgdo_esp8266_hV25/ESP OTA GitHub/src/ESP_OTA_GitHub.cpp: In member function 'bool ESPOTAGitHub::doUpgrade()':
.pio/libdeps/ratgdo_esp8266_hV25/ESP OTA GitHub/src/ESP_OTA_GitHub.cpp:237:52: error: control reaches end of non-void function [-Werror=return-type]
237 | urlDetails_t splitURL = _urlDetails(_upgradeURL);
| ^
Compiling .pio/build/ratgdo_esp8266_hV25/FrameworkArduino/LwipIntfCB.cpp.o
cc1plus: some warnings being treated as errors
*** [.pio/build/ratgdo_esp8266_hV25/libf10/ESP OTA GitHub/ESP_OTA_GitHub.cpp.o] Error 1
Compile error is fixed by adding return false;
to the end of the soUpgrade() function. I'm assuming that false is the right default return value... I have not got as far as testing the code.
The text was updated successfully, but these errors were encountered:
Got the subject error message compiling in platformio IDE...
Compile error is fixed by adding
return false;
to the end of the soUpgrade() function. I'm assuming that false is the right default return value... I have not got as far as testing the code.
The text was updated successfully, but these errors were encountered: