Github Action: Updated dist files

pull/300/head
dhalbert 4 months ago committed by github-actions[bot]
parent 69533c0acf
commit 16c330b45f

11
dist/esp_loader.js vendored

@ -94,6 +94,15 @@ export class ESPLoader extends EventTarget {
}
async hardReset(bootloader = false) {
this.logger.log("Try hard reset.");
// Check for noReset toggle
const noResetCheckbox = document.getElementById("noReset");
const noResetEnabled = noResetCheckbox
? noResetCheckbox.checked
: false;
if (noResetEnabled) {
this.logger.log("No reset requested; skipping hard reset.");
return; // Skip reset if noReset is enabled
}
if (bootloader) {
// enter flash mode
if (this.port.getInfo().usbProductId === USB_JTAG_SERIAL_PID) {
@ -115,7 +124,7 @@ export class ESPLoader extends EventTarget {
}
else {
// otherwise, esp chip should be connected to computer via usb-serial
// bridge chip like ch340,CP2102 etc.
// bridge chip like ch340, CP2102 etc.
// use normal way to enter flash mode.
await this.setDTR(false);
await this.setRTS(true);

2
dist/web/index.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save