Skip to content

Commit 0dcb1d1

Browse files
ci(pre-commit): Apply automatic fixes
1 parent ed6e95d commit 0dcb1d1

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

variants/sensebox_eye/partitions-16MB-tinyuf2.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ otadata, data, ota, 0xe000, 8K,
77
ota_0, 0, ota_0, 0x10000, 2048K,
88
ota_1, 0, ota_1, 0x210000, 2048K,
99
uf2, app, factory,0x410000, 256K,
10-
ffat, data, fat, 0x450000, 11968K,
10+
ffat, data, fat, 0x450000, 11968K,

variants/sensebox_eye/pins_arduino.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
#define USB_SERIAL "" // Empty string for MAC address
1111

1212
// Default USB FirmwareMSC Settings
13-
#define USB_FW_MSC_VENDOR_ID "senseBox" // max 8 chars
13+
#define USB_FW_MSC_VENDOR_ID "senseBox" // max 8 chars
1414
#define USB_FW_MSC_PRODUCT_ID "Eye ESP32S3" // max 16 chars
15-
#define USB_FW_MSC_PRODUCT_REVISION "1.00" // max 4 chars
16-
#define USB_FW_MSC_VOLUME_NAME "senseBox" // max 11 chars
15+
#define USB_FW_MSC_PRODUCT_REVISION "1.00" // max 4 chars
16+
#define USB_FW_MSC_VOLUME_NAME "senseBox" // max 11 chars
1717
#define USB_FW_MSC_SERIAL_NUMBER 0x00000000
1818

1919
#define PIN_RGB_LED 45 // RGB LED
2020
#define RGBLED_PIN 45 // RGB LED
21-
#define PIN_LED 45
21+
#define PIN_LED 45
2222
#define RGBLED_NUM 1 // number of RGB LEDs
2323

2424
// Default I2C QWIIC-Ports
@@ -28,14 +28,14 @@ static const uint8_t SCL = 1;
2828
#define PIN_QWIIC_SCL 1
2929

3030
// IO Pins
31-
#define PIN_IO14 14
32-
static const uint8_t A14 = PIN_IO14; // Analog
33-
static const uint8_t D14 = PIN_IO14; // Digital
34-
static const uint8_t T14 = PIN_IO14; // Touch
35-
#define PIN_IO48 48
36-
static const uint8_t A48 = PIN_IO48; // Analog
37-
static const uint8_t D48 = PIN_IO48; // Digital
38-
static const uint8_t T48 = PIN_IO48; // Touch
31+
#define PIN_IO14 14
32+
static const uint8_t A14 = PIN_IO14; // Analog
33+
static const uint8_t D14 = PIN_IO14; // Digital
34+
static const uint8_t T14 = PIN_IO14; // Touch
35+
#define PIN_IO48 48
36+
static const uint8_t A48 = PIN_IO48; // Analog
37+
static const uint8_t D48 = PIN_IO48; // Digital
38+
static const uint8_t T48 = PIN_IO48; // Touch
3939

4040
// Button
4141
#define PIN_BUTTON 47
@@ -87,4 +87,4 @@ static const uint8_t RX = 44;
8787
#define LORA_TX 43
8888
#define LORA_RX 44
8989

90-
#endif /* Pins_Arduino_h */
90+
#endif /* Pins_Arduino_h */

variants/sensebox_eye/variant.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ extern "C" {
55

66
void initVariant(void) {
77
// blink the RGB LED
8-
rgbLedWrite(PIN_LED, 0x00, 0x10, 0x00); // green
8+
rgbLedWrite(PIN_LED, 0x00, 0x10, 0x00); // green
99
delay(20);
10-
rgbLedWrite(PIN_LED, 0x00, 0x00, 0x00); // off
10+
rgbLedWrite(PIN_LED, 0x00, 0x00, 0x00); // off
1111
}
1212
}

variants/sensebox_mcu_esp32s2/APOTA.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// APOTA is a arduino fallback sketch that is written to OTA1_Partition.
2-
// APOTA opens an access point which waits to receive a .binfile on /sketch.
1+
// APOTA is a arduino fallback sketch that is written to OTA1_Partition.
2+
// APOTA opens an access point which waits to receive a .binfile on /sketch.
33
// After succesful upload, the file is written to OTA0_Partition and the microcontroller reboots to the newly uploaded sketch.
44

55
#define DISPLAY_ENABLED

0 commit comments

Comments
 (0)