mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-16 02:02:11 +02:00
Updated log texts
This commit is contained in:
@ -1768,18 +1768,18 @@ static void updateServerConfiguration(void) {
|
||||
if (agServer.getCo2AbcDaysConfig() > 0) {
|
||||
if (hasSensorS8) {
|
||||
int newHour = agServer.getCo2AbcDaysConfig() * 24;
|
||||
Serial.printf("abcDays config: %d days(%d hours)\r\n",
|
||||
Serial.printf("Requested abcDays setting: %d days (%d hours)\r\n",
|
||||
agServer.getCo2AbcDaysConfig(), newHour);
|
||||
int curHour = ag.s8.getAbcPeriod();
|
||||
Serial.printf("Current config: %d (hours)\r\n", curHour);
|
||||
Serial.printf("Current S8 abcDays setting: %d (hours)\r\n", curHour);
|
||||
if (curHour == newHour) {
|
||||
Serial.println("Set 'abcDays' ignored");
|
||||
Serial.println("'abcDays' unchanged");
|
||||
} else {
|
||||
if (ag.s8.setAbcPeriod(agServer.getCo2AbcDaysConfig() * 24) ==
|
||||
false) {
|
||||
Serial.println("Set S8 abcDays period calibration failed");
|
||||
Serial.println("Set S8 abcDays period failed");
|
||||
} else {
|
||||
Serial.println("Set S8 abcDays period calibration success");
|
||||
Serial.println("Set S8 abcDays period success");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user