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: Iad285e60cad29e025a02d0c0cabcb76fe593b5cf
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/serial_uart_mux.cpp b/src/serial_uart_mux.cpp
index 00724dd..31c2051 100644
--- a/src/serial_uart_mux.cpp
+++ b/src/serial_uart_mux.cpp
@@ -41,8 +41,8 @@
// check the debug card present pin
bool SerialUartMux::isOCPDebugCardPresent()
{
- auto gpioState =
- getGpioState(debugCardPresentGpio.fd, debugCardPresentGpio.polarity);
+ auto gpioState = getGpioState(debugCardPresentGpio.fd,
+ debugCardPresentGpio.polarity);
return (gpioState == GpioState::assert);
}
// set the serial uart MUX to select the console w.r.t host selector position
@@ -66,8 +66,8 @@
if (gpioConfig.name == SERIAL_UART_RX_GPIO)
{
- gpioState =
- debugCardPresent ? GpioState::assert : GpioState::deassert;
+ gpioState = debugCardPresent ? GpioState::assert
+ : GpioState::deassert;
}
else
{