automatic clang formatting

This commit is contained in:
proddy
2020-09-05 21:25:36 +02:00
parent 9e8eb1884b
commit 1b0db5e5ab
7 changed files with 23 additions and 23 deletions

View File

@@ -89,7 +89,7 @@ class Telegram {
return false; // out of bounds
}
uint8_t val = value;
value = (uint8_t)(((this->message_data[abs_index]) >> (bit)) & 0x01);
value = (uint8_t)(((this->message_data[abs_index]) >> (bit)) & 0x01);
if (val != value) {
return true;
}
@@ -110,7 +110,7 @@ class Telegram {
return false;
}
auto val = value;
value = 0;
value = 0;
for (uint8_t i = 0; i < num_bytes; i++) {
value = (value << 8) + this->message_data[index - this->offset + i]; // shift by byte
}