Skip to content

Commit 9685fee

Browse files
committed
Fixing Checks
1 parent c9918d2 commit 9685fee

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/access/ProviderDeviceTypeResolver.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
#pragma once
1717

1818
#include <access/AccessControl.h>
19-
#include <app/data-model/MetadataList.h>
2019
#include <app/data-model-provider/MetadataTypes.h>
2120
#include <app/data-model-provider/Provider.h>
21+
#include <app/data-model/MetadataList.h>
2222

2323
namespace chip {
2424
namespace Access {

src/app/AttributePathExpandIterator.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
#include <app/AttributePathParams.h>
2121
#include <app/ConcreteAttributePath.h>
22-
#include <app/data-model/MetadataList.h>
2322
#include <app/data-model-provider/MetadataTypes.h>
2423
#include <app/data-model-provider/Provider.h>
24+
#include <app/data-model/MetadataList.h>
2525
#include <lib/core/DataModelTypes.h>
2626
#include <lib/support/LinkedList.h>
2727
#include <lib/support/Span.h>

src/app/CommandHandlerInterface.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <app/ConcreteClusterPath.h>
2323
#include <app/ConcreteCommandPath.h>
2424
#include <app/data-model/Decode.h>
25-
#include <app/data-model/List.h> // So we can encode lists
25+
#include <app/data-model/List.h> // So we can encode lists
2626
#include <app/data-model/MetadataList.h> // So we can get filled buffers
2727
#include <lib/core/DataModelTypes.h>
2828
#include <lib/support/Iterators.h>

src/app/clusters/microwave-oven-control-server/microwave-oven-control-server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
#include "app/data-model-provider/MetadataList.h"
19+
#include <app/data-model/MetadataList.h>
2020
#include <app-common/zap-generated/attributes/Accessors.h>
2121
#include <app/AttributeAccessInterfaceRegistry.h>
2222
#include <app/CommandHandlerInterfaceRegistry.h>

src/app/clusters/network-commissioning/network-commissioning.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1383,9 +1383,9 @@ CHIP_ERROR Instance::EnumerateAcceptedCommands(const ConcreteClusterPath & clust
13831383

13841384
if(hasNet | hasWifi) {
13851385
//Avoid extra memory allocation
1386-
return builder.ReferenceExisting({commands, 5 + hasCred? 1 : 0});
1386+
return builder.ReferenceExisting({commands, 5z + (hasCred? 1z : 0z)});
13871387
} else if(hasCred) {
1388-
return builder.ReferenceExisting({commands + 5, 1});
1388+
return builder.ReferenceExisting({commands + 5z, 1z});
13891389
}
13901390

13911391
return CHIP_NO_ERROR;

0 commit comments

Comments
 (0)