clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I3edadffec0ea11e0a52d9b060167e9a9a38f1972
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/pmbus.cpp b/pmbus.cpp
index aca2d49..d7e8fc2 100644
--- a/pmbus.cpp
+++ b/pmbus.cpp
@@ -243,8 +243,8 @@
{
std::vector<uint8_t> data(length, 0);
- auto bytes =
- fread(data.data(), sizeof(decltype(data[0])), length, file.get());
+ auto bytes = fread(data.data(), sizeof(decltype(data[0])), length,
+ file.get());
if (bytes != length)
{