Skip to content

Commit 9bf7c0f

Browse files
restyled-commitscecille
authored andcommitted
Restyled by clang-format
1 parent f4b4cb1 commit 9bf7c0f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/controller/python/JsonTlvSupport.cpp

+5-3
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@ extern "C" {
3535
// size - output buffer size
3636
// Returns:
3737
// Number of TLV bytes encoded. If this fails, 0 will be returned.
38-
size_t pychip_JsonToTlv(const char* json, uint8_t* buf, size_t size) {
38+
size_t pychip_JsonToTlv(const char * json, uint8_t * buf, size_t size)
39+
{
3940
MutableByteSpan tlvSpan(buf, size);
4041
CHIP_ERROR err = JsonToTlv(json, tlvSpan);
41-
if (err != CHIP_NO_ERROR) {
42+
if (err != CHIP_NO_ERROR)
43+
{
4244
return 0;
4345
}
4446
return tlvSpan.size();
4547
}
46-
} // extern "C"
48+
} // extern "C"

0 commit comments

Comments
 (0)