Merge branch 'development' into pre-release-9.4.0

This commit is contained in:
Theo Arends 2021-04-14 14:34:20 +02:00
commit e6e00c80cc
2 changed files with 2 additions and 2 deletions

View File

@ -1155,7 +1155,7 @@ void Every250mSeconds(void)
}
#endif // ESP8266
char version[50];
snprintf_P(version, sizeof(version), PSTR("%s-%s"), TasmotaGlobal.image_name, TasmotaGlobal.version);
snprintf_P(version, sizeof(version), PSTR("%s%s"), TasmotaGlobal.version, TasmotaGlobal.image_name);
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_UPLOAD "%s %s"), TasmotaGlobal.mqtt_data, version);
WiFiClient OTAclient;
ota_result = (HTTP_UPDATE_FAILED != ESPhttpUpdate.update(OTAclient, TasmotaGlobal.mqtt_data, version));

View File

@ -78,7 +78,7 @@
#include <SPI.h>
#ifdef USE_SDCARD
#include <SD.h>
#include <SDFAT.h>
#include <SdFat.h>
#endif // USE_SDCARD
#endif // ESP8266
#ifdef ESP32