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() {
101101}
102102
103103void 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 );
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments