mirror of
https://github.com/espressif/openthread.git
synced 2026-09-06 09:10:04 +00:00
[code-style] apply clang-format
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
void otTestHexToVector(std::string &aHex, std::vector<uint8_t> &aOutBytes)
|
||||
{
|
||||
std::istringstream ss(aHex);
|
||||
std::string word;
|
||||
std::string word;
|
||||
|
||||
while (ss >> word)
|
||||
{
|
||||
@@ -53,9 +53,15 @@ void otTestPrintHex(uint8_t *aBuffer, int aLength)
|
||||
{
|
||||
printf("%02x ", aBuffer[i]);
|
||||
|
||||
if (i % 16 == 7) { printf(" "); }
|
||||
if (i % 16 == 7)
|
||||
{
|
||||
printf(" ");
|
||||
}
|
||||
|
||||
if (i % 16 == 15 && aLength != i + 1) { printf("\n"); }
|
||||
if (i % 16 == 15 && aLength != i + 1)
|
||||
{
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
|
||||
Reference in New Issue
Block a user