@@ -36,7 +36,8 @@ AppTask AppTask::sAppTask;
36
36
#include < app/InteractionModelEngine.h>
37
37
38
38
int AddDeviceEndpoint (Device * dev, EmberAfEndpointType * ep, const Span<const EmberAfDeviceType> & deviceTypeList,
39
- const Span<DataVersion> & dataVersionStorage, chip:CharSpan epUniqueId, chip::EndpointId parentEndpointId);
39
+ const Span<DataVersion> & dataVersionStorage, chip
40
+ : CharSpan epUniqueId, chip::EndpointId parentEndpointId);
40
41
CHIP_ERROR RemoveDeviceEndpoint (Device * dev);
41
42
void HandleDeviceTempSensorStatusChanged (DeviceTempSensor * dev, DeviceTempSensor::Changed_t itemChangedMask);
42
43
Protocols::InteractionModel::Status HandleReadTempMeasurementAttribute (DeviceTempSensor * dev, chip::AttributeId attributeId,
@@ -184,7 +185,8 @@ const EmberAfDeviceType gBridgedTempSensorDeviceTypes[] = { { DEVICE_TYPE_TEMP_S
184
185
{ DEVICE_TYPE_BRIDGED_NODE, DEVICE_VERSION_DEFAULT } };
185
186
186
187
int AddDeviceEndpoint (Device * dev, EmberAfEndpointType * ep, const Span<const EmberAfDeviceType> & deviceTypeList,
187
- const Span<DataVersion> & dataVersionStorage, chip:CharSpan epUniqueId, chip::EndpointId parentEndpointId)
188
+ const Span<DataVersion> & dataVersionStorage, chip
189
+ : CharSpan epUniqueId, chip::EndpointId parentEndpointId)
188
190
{
189
191
uint8_t index = 0 ;
190
192
while (index < CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT)
@@ -196,9 +198,8 @@ int AddDeviceEndpoint(Device * dev, EmberAfEndpointType * ep, const Span<const E
196
198
while (true )
197
199
{
198
200
dev->SetEndpointId (gCurrentEndpointId );
199
- err =
200
- emberAfSetDynamicEndpoint (index , gCurrentEndpointId , ep, dataVersionStorage, deviceTypeList, epUniqueId,
201
- parentEndpointId);
201
+ err = emberAfSetDynamicEndpoint (index , gCurrentEndpointId , ep, dataVersionStorage, deviceTypeList, epUniqueId,
202
+ parentEndpointId);
202
203
if (err == CHIP_NO_ERROR)
203
204
{
204
205
ChipLogProgress (DeviceLayer, " Added device %s to dynamic endpoint %d (index=%d)" , dev->GetName (),
0 commit comments