File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
examples/MatterTemperatureSensor Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ MatterTemperatureSensor SimulatedTemperatureSensor;
3131const char *ssid = " your-ssid" ; // Change this to your WiFi SSID
3232const 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
3535float getSimulatedTemperature () {
3636 // The Endpoint implementation keeps an int16_t as internal value information,
3737 // which stores data in 1/100th of any temperature unit
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments