Skip to content

Commit 6ec7207

Browse files
committed
fix(matter): typos caught by CI codespell
1 parent 4cd8751 commit 6ec7207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Matter/src/MatterEndpoints/MatterThermostat.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ bool MatterThermostat::begin(ControlSequenceOfOperation_t _controlSequence, Ther
169169
return false;
170170
}
171171

172-
const int16_t _localTemperature = 2000; // initial value to be automaticaly changed by the Matter Thermostat
172+
const int16_t _localTemperature = 2000; // initial value to be automatically changed by the Matter Thermostat
173173
const int16_t _coolingSetpointTemperature = 2400; // 24C cooling setpoint
174174
const int16_t _heatingSetpointTemperature = 1600; // 16C heating setpoint
175175
const ThermostatMode_t _currentMode = THERMOSTAT_MODE_OFF;
@@ -306,7 +306,7 @@ bool MatterThermostat::setCoolingHeatingSetpoints(double _setpointHeatingTempera
306306
bool settingCooling = _setpointCollingTemperature != (float)0xffff;
307307
bool settingHeating = _setpointHeatingTemperature != (float)0xffff;
308308
if (!settingCooling && !settingHeating) {
309-
log_e("Invalid Setpoints values. Set correctly at leat one of them in Celsius.");
309+
log_e("Invalid Setpoints values. Set correctly at least one of them in Celsius.");
310310
return false;
311311
}
312312
int16_t _rawHeatValue = static_cast<int16_t>(_setpointHeatingTemperature * 100.0f);

0 commit comments

Comments
 (0)