Skip to content

Commit f6f3e04

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 321de22 commit f6f3e04

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

variants/sensebox_eye/APOTA.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void setBootPartitionToOTA0() {
101101
}
102102

103103
void setupDisplay() {
104-
Wire.begin(PIN_QWIIC_SDA,PIN_QWIIC_SCL);
104+
Wire.begin(PIN_QWIIC_SDA, PIN_QWIIC_SCL);
105105
displayEnabled = Wire.requestFrom(0x3D, 1); // Check if the display is connected
106106
if (displayEnabled) {
107107
display.begin(SSD1306_SWITCHCAPVCC, 0x3D);

variants/sensebox_eye/variant.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ void initVariant(void) {
2525
if (ota1_partition) {
2626
esp_err_t err = esp_ota_set_boot_partition(ota1_partition);
2727
if (err == ESP_OK) {
28-
blinkLED(0x00, 0x00, 0x10); // blue
29-
esp_restart(); // restart, to boot OTA1 partition
28+
blinkLED(0x00, 0x00, 0x10); // blue
29+
esp_restart(); // restart, to boot OTA1 partition
3030
} else {
31-
blinkLED(0x10, 0x00, 0x00); // red
31+
blinkLED(0x10, 0x00, 0x00); // red
3232
ESP_LOGE("OTA", "Error setting OTA1 partition: %s", esp_err_to_name(err));
3333
}
3434
}
3535
} else {
36-
blinkLED(0x00, 0x10, 0x00); // green
36+
blinkLED(0x00, 0x10, 0x00); // green
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)