File tree 2 files changed +3
-3
lines changed
examples/thermostat/silabs
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class SensorManager
38
38
};
39
39
40
40
private:
41
- static void UpdateClusterState (intptr_t context);
41
+ static void UpdateTemperatureAttribute (intptr_t context);
42
42
friend SensorManager & SensorMgr ();
43
43
44
44
osTimerId_t mSensorTimer ;
Original file line number Diff line number Diff line change @@ -122,11 +122,11 @@ void SensorManager::SensorTimerEventHandler(void * arg)
122
122
// The SensorMagager shouldn't be aware of the Endpoint ID TODO Fix this.
123
123
// TODO Per Spec we should also apply the Offset stored in the same cluster before saving the temp
124
124
125
- chip::DeviceLayer::PlatformMgr ().ScheduleWork (UpdateClusterState , reinterpret_cast <intptr_t >(data));
125
+ chip::DeviceLayer::PlatformMgr ().ScheduleWork (UpdateTemperatureAttribute , reinterpret_cast <intptr_t >(data));
126
126
}
127
127
}
128
128
129
- void SensorManager::UpdateClusterState (intptr_t context)
129
+ void SensorManager::UpdateTemperatureAttribute (intptr_t context)
130
130
{
131
131
SensorManager::AttributeUpdateInfo * data = reinterpret_cast <SensorManager::AttributeUpdateInfo *>(context);
132
132
app::Clusters::Thermostat::Attributes::LocalTemperature::Set (data->endPoint , data->temperature );
You can’t perform that action at this time.
0 commit comments