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: I44441096113929ce96eb1439e2932e6ff3c87f27
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/testit.cpp b/testit.cpp
index 2541915..0a703ab 100644
--- a/testit.cpp
+++ b/testit.cpp
@@ -8,7 +8,6 @@
uint8_t find_type_for_sensor_number(uint8_t sensor_number)
{
-
int i = 0;
uint8_t rc;
@@ -45,10 +44,9 @@
return 0;
}
-int set_sensor_dbus_state_y(unsigned char number, char const* member,
+int set_sensor_dbus_state_y(unsigned char number, const char* member,
uint8_t value)
{
-
char val[2];
snprintf(val, 2, "%d", value);
@@ -111,7 +109,6 @@
int main()
{
-
testprep();
check_results(updateSensorRecordFromSSRAESC(testrec_bootprogress),
"setValue", "FW Progress, Docking station attachment");