Skip to content

Commit

Permalink
make pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemyslaw Bida committed May 13, 2024
1 parent 6786423 commit 4ee2954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/cli/cli_tcat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ template <> otError Tcat::Process<Cmd("vendorid")>(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
Expand Down
2 changes: 1 addition & 1 deletion src/core/meshcop/tcat_agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4ee2954

Please sign in to comment.