Skip to content

Commit c06123b

Browse files
restyled-commitsyunhanw-google
authored andcommitted
Restyled by clang-format
1 parent 0184075 commit c06123b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/app/icd/server/ICDMonitoringTable.h

+5-6
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,11 @@ namespace chip {
3737
static constexpr size_t MaxICDMonitoringEntrySize()
3838
{
3939
// All the fields added together
40-
return TLV::EstimateStructOverhead(
41-
sizeof(NodeId) /*checkInNodeID*/,
42-
sizeof(uint64_t) /*monitoredSubject*/,
43-
sizeof(Crypto::Symmetric128BitsKeyByteArray) /*aes_key_handle*/,
44-
sizeof(Crypto::Symmetric128BitsKeyByteArray) /*hmac_key_handle*/,
45-
sizeof(uint8_t) /*client_type*/) * 3 / 2;
40+
return TLV::EstimateStructOverhead(sizeof(NodeId) /*checkInNodeID*/, sizeof(uint64_t) /*monitoredSubject*/,
41+
sizeof(Crypto::Symmetric128BitsKeyByteArray) /*aes_key_handle*/,
42+
sizeof(Crypto::Symmetric128BitsKeyByteArray) /*hmac_key_handle*/,
43+
sizeof(uint8_t) /*client_type*/) *
44+
3 / 2;
4645
}
4746

4847
inline constexpr size_t kICDMonitoringBufferSize = MaxICDMonitoringEntrySize();

0 commit comments

Comments
 (0)