UI Updates and dual settings.toml editing
This commit is contained in:
parent
e21b36b4d1
commit
7726bf9bc3
11 changed files with 6 additions and 6 deletions
2
adabot
2
adabot
|
|
@ -1 +1 @@
|
|||
Subproject commit 2415fa6b5c8e5bbb9a45d6ee4833d03a70bc25ae
|
||||
Subproject commit a295390bb7c1a694cf64da74a5fe99d7dc51e334
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/bootloaders/tinyuf2-adafruit_feather_esp32s3_tft-0.12.3.zip
Normal file
BIN
bin/bootloaders/tinyuf2-adafruit_feather_esp32s3_tft-0.12.3.zip
Normal file
Binary file not shown.
BIN
bin/bootloaders/tinyuf2-adafruit_funhouse_esp32s2-0.12.3.zip
Normal file
BIN
bin/bootloaders/tinyuf2-adafruit_funhouse_esp32s2-0.12.3.zip
Normal file
Binary file not shown.
BIN
bin/bootloaders/tinyuf2-espressif_saola_1_wroom-0.12.3.zip
Normal file
BIN
bin/bootloaders/tinyuf2-espressif_saola_1_wroom-0.12.3.zip
Normal file
Binary file not shown.
|
|
@ -436,13 +436,13 @@ export class CPInstallButton extends InstallButton {
|
|||
}
|
||||
|
||||
try {
|
||||
this.updateEspConnected(this.connectionStates.CONNECTING);
|
||||
this.updateUIConnected(this.connectionStates.CONNECTING);
|
||||
await esploader.initialize();
|
||||
this.updateEspConnected(this.connectionStates.CONNECTED);
|
||||
this.updateUIConnected(this.connectionStates.CONNECTED);
|
||||
} catch (err) {
|
||||
await esploader.disconnect();
|
||||
// Disconnection before complete
|
||||
this.updateEspConnected(this.connectionStates.DISCONNECTED);
|
||||
this.updateUIConnected(this.connectionStates.DISCONNECTED);
|
||||
this.errorMsg("Unable to connect to the board. Make sure it is in bootloader mode by holding the boot0 button when powering on and try again.")
|
||||
return;
|
||||
}
|
||||
|
|
@ -468,7 +468,7 @@ export class CPInstallButton extends InstallButton {
|
|||
} catch (err) {
|
||||
await esploader.disconnect();
|
||||
// Disconnection before complete
|
||||
this.updateEspConnected(this.connectionStates.DISCONNECTED);
|
||||
this.updateUIConnected(this.connectionStates.DISCONNECTED);
|
||||
this.errorMsg("Oops, we lost connection to your board before completing the install. Please check your USB connection and click Connect again. Refresh the browser if it becomes unresponsive.")
|
||||
}
|
||||
}
|
||||
|
|
@ -536,7 +536,7 @@ export class CPInstallButton extends InstallButton {
|
|||
if (this.espStub) {
|
||||
this.espStub.removeEventListener("disconnect", this.espDisconnect.bind(this));
|
||||
await this.espStub.disconnect();
|
||||
this.updateEspConnected(this.connectionStates.DISCONNECTED);
|
||||
this.updateUIConnected(this.connectionStates.DISCONNECTED);
|
||||
this.espStub = null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue