From 4ee2954c3f6c2a20c1494b3fe638b805df285554 Mon Sep 17 00:00:00 2001 From: Przemyslaw Bida Date: Mon, 13 May 2024 12:39:07 +0200 Subject: [PATCH] make pretty --- src/cli/cli_tcat.cpp | 3 +-- src/core/meshcop/tcat_agent.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cli/cli_tcat.cpp b/src/cli/cli_tcat.cpp index 0dba71fa92e9..0184ceecae4f 100644 --- a/src/cli/cli_tcat.cpp +++ b/src/cli/cli_tcat.cpp @@ -129,8 +129,7 @@ template <> otError Tcat::Process(Arg aArgs[]) for (size_t i = 0; mVendorInfo.mDeviceIds[i].mDeviceIdType != OT_TCAT_DEVICE_ID_EMPTY; i++) { OutputFormat("type %s, value: ", kVendorIdTypes[mVendorInfo.mDeviceIds[i].mDeviceIdType]); - OutputBytesLine((uint8_t *)mVendorInfo.mDeviceIds[i].mDeviceId, - mVendorInfo.mDeviceIds[i].mDeviceIdLen); + OutputBytesLine((uint8_t *)mVendorInfo.mDeviceIds[i].mDeviceId, mVendorInfo.mDeviceIds[i].mDeviceIdLen); } } else diff --git a/src/core/meshcop/tcat_agent.cpp b/src/core/meshcop/tcat_agent.cpp index 57dd814b91c9..b7042f09f6ea 100644 --- a/src/core/meshcop/tcat_agent.cpp +++ b/src/core/meshcop/tcat_agent.cpp @@ -508,7 +508,7 @@ Error TcatAgent::HandleStartThreadInterface(void) void SeralizeTcatAdvertisementTlv(uint8_t *aBuffer, uint16_t &aOffset, TcatAdvertisementTlvType aType, - uint16_t aLength, + uint16_t aLength, const uint8_t *aValue) { aBuffer[aOffset++] = aType << 4 | (uint8_t)(aLength & 0xf);