Standardize version message

This commit is contained in:
Theo Arends 2021-04-14 14:33:21 +02:00
parent 733fdb4096
commit efbeeee6a4
1 changed files with 1 additions and 1 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));