Upgrade clang-format to v13 (#4535)
* Upgrade clang-format to v13 * Apply clang-format-13 formatting changes * Format * Format bme_680 --------- Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
1 parent
f0f6d3f1cd
commit
14e38f0469
55 files changed
+182
-179
No files matched your search
@@ -168,7 +168,7 @@ uint8_t TM1637Display::get_keys() {
|
||||
// Bit | 7 6 5 4 3 2 1 0
|
||||
// ------+------------------------
|
||||
// To | 0 0 0 0 K2 S2 S1 S0
|
||||
key_code = (uint8_t)((key_code & 0x80) >> 7 | (key_code & 0x40) >> 5 | (key_code & 0x20) >> 3 | (key_code & 0x08));
|
||||
key_code = (uint8_t) ((key_code & 0x80) >> 7 | (key_code & 0x40) >> 5 | (key_code & 0x20) >> 3 | (key_code & 0x08));
|
||||
}
|
||||
return key_code;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user