Fix compilacion OTA y firmware inicial ESP32-CAM
- Corregido bug: String.trim() devuelve void en Arduino, separado de toInt() - Añadido firmware/esp32cam/firmware.bin (v1, compilado con min_spiffs OTA) - min_spiffs: 1.87MB por particion OTA, mas que suficiente (firmware ocupa 1.29MB) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -71,7 +71,8 @@ static void checkOTA() {
|
||||
http.end();
|
||||
|
||||
if (code == HTTP_CODE_OK) {
|
||||
int remoteVer = body.trim().toInt();
|
||||
body.trim();
|
||||
int remoteVer = body.toInt();
|
||||
if (remoteVer > FW_VERSION) {
|
||||
BearSSL::WiFiClientSecure updateClient;
|
||||
updateClient.setInsecure();
|
||||
|
||||
Reference in New Issue
Block a user