From 3504dc952e6093b83cae02c3da9b54d409096d9b Mon Sep 17 00:00:00 2001 From: tyeth Date: Fri, 10 Jan 2025 18:20:39 +0000 Subject: [PATCH] clang-format --- src/components/analogIO/Wippersnapper_AnalogIO.cpp | 2 +- src/components/i2c/drivers/WipperSnapper_I2C_Driver.h | 2 +- src/components/uart/drivers/ws_uart_drv.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/analogIO/Wippersnapper_AnalogIO.cpp b/src/components/analogIO/Wippersnapper_AnalogIO.cpp index 40df2e663..0a887558d 100644 --- a/src/components/analogIO/Wippersnapper_AnalogIO.cpp +++ b/src/components/analogIO/Wippersnapper_AnalogIO.cpp @@ -90,7 +90,7 @@ void Wippersnapper_AnalogIO::setADCResolution(int resolution) { scaleAnalogRead = false; // handled in bsp (analogReadResolution) analogReadResolution(resolution); // 16 bit values (shifted from 12 or 13bit) #if defined(ESP32S3) - _nativeResolution = 13; // S3 ADC is 13-bit, others are 12-bit + _nativeResolution = 13; // S3 ADC is 13-bit, others are 12-bit #else _nativeResolution = 12; #endif diff --git a/src/components/i2c/drivers/WipperSnapper_I2C_Driver.h b/src/components/i2c/drivers/WipperSnapper_I2C_Driver.h index 809b03b56..7c702b544 100644 --- a/src/components/i2c/drivers/WipperSnapper_I2C_Driver.h +++ b/src/components/i2c/drivers/WipperSnapper_I2C_Driver.h @@ -1234,7 +1234,7 @@ class WipperSnapper_I2C_Driver { @brief Enables the device's proximity sensor, if it exists. */ /*******************************************************************************/ - virtual void enableSensorProximity(){}; + virtual void enableSensorProximity() {}; /*******************************************************************************/ /*! diff --git a/src/components/uart/drivers/ws_uart_drv.h b/src/components/uart/drivers/ws_uart_drv.h index 8cdc9f0ef..8e19a3e59 100644 --- a/src/components/uart/drivers/ws_uart_drv.h +++ b/src/components/uart/drivers/ws_uart_drv.h @@ -160,7 +160,7 @@ class ws_uart_drv { @brief Reads the UART device's data then packs and sends it to IO. */ /*******************************************************************************/ - virtual void send_data(){}; + virtual void send_data() {}; const char *uartTopic = nullptr; ///< UART device's MQTT topic Adafruit_MQTT *mqttClient = nullptr; ///< Pointer to MQTT client object