From 0dcb1d1178c0d8c73870a83f892fada1114d8fc0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 06:56:12 +0000 Subject: [PATCH] ci(pre-commit): Apply automatic fixes --- .../sensebox_eye/partitions-16MB-tinyuf2.csv | 2 +- variants/sensebox_eye/pins_arduino.h | 26 +++++++++---------- variants/sensebox_eye/variant.cpp | 4 +-- variants/sensebox_mcu_esp32s2/APOTA.ino | 4 +-- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/variants/sensebox_eye/partitions-16MB-tinyuf2.csv b/variants/sensebox_eye/partitions-16MB-tinyuf2.csv index 960f3fbbd..55dc62131 100644 --- a/variants/sensebox_eye/partitions-16MB-tinyuf2.csv +++ b/variants/sensebox_eye/partitions-16MB-tinyuf2.csv @@ -7,4 +7,4 @@ otadata, data, ota, 0xe000, 8K, ota_0, 0, ota_0, 0x10000, 2048K, ota_1, 0, ota_1, 0x210000, 2048K, uf2, app, factory,0x410000, 256K, -ffat, data, fat, 0x450000, 11968K, \ No newline at end of file +ffat, data, fat, 0x450000, 11968K, diff --git a/variants/sensebox_eye/pins_arduino.h b/variants/sensebox_eye/pins_arduino.h index 99984dbc6..70c2bd880 100644 --- a/variants/sensebox_eye/pins_arduino.h +++ b/variants/sensebox_eye/pins_arduino.h @@ -10,15 +10,15 @@ #define USB_SERIAL "" // Empty string for MAC address // Default USB FirmwareMSC Settings -#define USB_FW_MSC_VENDOR_ID "senseBox" // max 8 chars +#define USB_FW_MSC_VENDOR_ID "senseBox" // max 8 chars #define USB_FW_MSC_PRODUCT_ID "Eye ESP32S3" // max 16 chars -#define USB_FW_MSC_PRODUCT_REVISION "1.00" // max 4 chars -#define USB_FW_MSC_VOLUME_NAME "senseBox" // max 11 chars +#define USB_FW_MSC_PRODUCT_REVISION "1.00" // max 4 chars +#define USB_FW_MSC_VOLUME_NAME "senseBox" // max 11 chars #define USB_FW_MSC_SERIAL_NUMBER 0x00000000 #define PIN_RGB_LED 45 // RGB LED #define RGBLED_PIN 45 // RGB LED -#define PIN_LED 45 +#define PIN_LED 45 #define RGBLED_NUM 1 // number of RGB LEDs // Default I2C QWIIC-Ports @@ -28,14 +28,14 @@ static const uint8_t SCL = 1; #define PIN_QWIIC_SCL 1 // IO Pins -#define PIN_IO14 14 -static const uint8_t A14 = PIN_IO14; // Analog -static const uint8_t D14 = PIN_IO14; // Digital -static const uint8_t T14 = PIN_IO14; // Touch -#define PIN_IO48 48 -static const uint8_t A48 = PIN_IO48; // Analog -static const uint8_t D48 = PIN_IO48; // Digital -static const uint8_t T48 = PIN_IO48; // Touch +#define PIN_IO14 14 +static const uint8_t A14 = PIN_IO14; // Analog +static const uint8_t D14 = PIN_IO14; // Digital +static const uint8_t T14 = PIN_IO14; // Touch +#define PIN_IO48 48 +static const uint8_t A48 = PIN_IO48; // Analog +static const uint8_t D48 = PIN_IO48; // Digital +static const uint8_t T48 = PIN_IO48; // Touch // Button #define PIN_BUTTON 47 @@ -87,4 +87,4 @@ static const uint8_t RX = 44; #define LORA_TX 43 #define LORA_RX 44 -#endif /* Pins_Arduino_h */ \ No newline at end of file +#endif /* Pins_Arduino_h */ diff --git a/variants/sensebox_eye/variant.cpp b/variants/sensebox_eye/variant.cpp index 23bc1d385..4d6e38e73 100644 --- a/variants/sensebox_eye/variant.cpp +++ b/variants/sensebox_eye/variant.cpp @@ -5,8 +5,8 @@ extern "C" { void initVariant(void) { // blink the RGB LED - rgbLedWrite(PIN_LED, 0x00, 0x10, 0x00); // green + rgbLedWrite(PIN_LED, 0x00, 0x10, 0x00); // green delay(20); - rgbLedWrite(PIN_LED, 0x00, 0x00, 0x00); // off + rgbLedWrite(PIN_LED, 0x00, 0x00, 0x00); // off } } diff --git a/variants/sensebox_mcu_esp32s2/APOTA.ino b/variants/sensebox_mcu_esp32s2/APOTA.ino index afb741499..114f0325e 100644 --- a/variants/sensebox_mcu_esp32s2/APOTA.ino +++ b/variants/sensebox_mcu_esp32s2/APOTA.ino @@ -1,5 +1,5 @@ -// APOTA is a arduino fallback sketch that is written to OTA1_Partition. -// APOTA opens an access point which waits to receive a .binfile on /sketch. +// APOTA is a arduino fallback sketch that is written to OTA1_Partition. +// APOTA opens an access point which waits to receive a .binfile on /sketch. // After succesful upload, the file is written to OTA0_Partition and the microcontroller reboots to the newly uploaded sketch. #define DISPLAY_ENABLED