We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 214efe7 commit 336d99eCopy full SHA for 336d99e
libraries/Matter/src/MatterEndpoints/MatterTemperatureSensor.h
@@ -44,7 +44,7 @@ class MatterTemperatureSensor : public MatterEndPoint {
44
double getTemperatureCelsius() { // returns the reported temperature in Celcius
45
return (double)rawTemperature / 100.0;
46
}
47
- void operator=(double temperatureCelcius) { // sets the reported temperature in Celcius{
+ void operator=(double temperatureCelcius) { // sets the reported temperature in Celcius
48
int16_t rawValue = static_cast<int16_t>(temperatureCelcius * 100.0f);
49
setRawTemperature(rawValue);
50
0 commit comments