mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-15 00:46:31 +02:00
Update configuration log mesasge
This commit is contained in:
@ -617,7 +617,7 @@ bool Configuration::parse(String data, bool isLocal) {
|
|||||||
String newVer = root["targetFirmware"];
|
String newVer = root["targetFirmware"];
|
||||||
String curVer = String(GIT_VERSION);
|
String curVer = String(GIT_VERSION);
|
||||||
if (curVer != newVer) {
|
if (curVer != newVer) {
|
||||||
logInfo("Detected new firwmare version: " + newVer);
|
logInfo("Detected new firmware version: " + newVer);
|
||||||
otaNewFirmwareVersion = newVer;
|
otaNewFirmwareVersion = newVer;
|
||||||
udpated = true;
|
udpated = true;
|
||||||
} else {
|
} else {
|
||||||
@ -630,7 +630,7 @@ bool Configuration::parse(String data, bool isLocal) {
|
|||||||
saveConfig();
|
saveConfig();
|
||||||
printConfig();
|
printConfig();
|
||||||
} else {
|
} else {
|
||||||
logInfo("Nothing changed ignore udpate");
|
logInfo("Update ignored due to local unofficial changes");
|
||||||
if (ledBarTestRequested || co2CalibrationRequested) {
|
if (ledBarTestRequested || co2CalibrationRequested) {
|
||||||
udpated = true;
|
udpated = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user