File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ void setBootPartitionToOTA0() {
101
101
}
102
102
103
103
void setupDisplay () {
104
- Wire.begin (PIN_QWIIC_SDA,PIN_QWIIC_SCL);
104
+ Wire.begin (PIN_QWIIC_SDA, PIN_QWIIC_SCL);
105
105
displayEnabled = Wire.requestFrom (0x3D , 1 ); // Check if the display is connected
106
106
if (displayEnabled) {
107
107
display.begin (SSD1306_SWITCHCAPVCC, 0x3D );
Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ void initVariant(void) {
25
25
if (ota1_partition) {
26
26
esp_err_t err = esp_ota_set_boot_partition (ota1_partition);
27
27
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
30
30
} else {
31
- blinkLED (0x10 , 0x00 , 0x00 ); // red
31
+ blinkLED (0x10 , 0x00 , 0x00 ); // red
32
32
ESP_LOGE (" OTA" , " Error setting OTA1 partition: %s" , esp_err_to_name (err));
33
33
}
34
34
}
35
35
} else {
36
- blinkLED (0x00 , 0x10 , 0x00 ); // green
36
+ blinkLED (0x00 , 0x10 , 0x00 ); // green
37
37
}
38
38
}
39
39
}
You can’t perform that action at this time.
0 commit comments