Skip to content

Commit dbcdf6c

Browse files
committed
fix(matter): fixed code spell ci errors in matter temperature sensor
1 parent d858783 commit dbcdf6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: libraries/Matter/examples/MatterTemperatureSensor/MatterTemperatureSensor.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ MatterTemperatureSensor SimulatedTemperatureSensor;
3131
const char *ssid = "your-ssid"; // Change this to your WiFi SSID
3232
const char *password = "your-password"; // Change this to your WiFi password
3333

34-
// Simulate a temperature sensor - add your prefered temperature sensor library code here
34+
// Simulate a temperature sensor - add your preferred temperature sensor library code here
3535
float getSimulatedTemperature() {
3636
// The Endpoint implementation keeps an int16_t as internal value information,
3737
// which stores data in 1/100th of any temperature unit

Diff for: libraries/Matter/src/MatterEndpoints/MatterTemperatureSensor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ bool MatterTemperatureSensor::setRawTemperature(int16_t _rawTemperature) {
9191
}
9292
rawTemperature = _rawTemperature;
9393
}
94-
log_v("Temperature Sensor set to %.02f Celcius Degrees", (float)_rawTemperature / 100.00);
94+
log_v("Temperature Sensor set to %.02f Degrees", (float)_rawTemperature / 100.00);
9595

9696
return true;
9797
}

0 commit comments

Comments
 (0)