Github Action: Updated dist files

pull/306/head
dhalbert 4 months ago committed by github-actions[bot]
parent 01bf969941
commit 82d6083046

13
dist/esp_loader.js vendored

@ -93,15 +93,12 @@ export class ESPLoader extends EventTarget {
await this.port.setSignals({ dataTerminalReady: state }); await this.port.setSignals({ dataTerminalReady: state });
} }
async hardReset(bootloader = false) { async hardReset(bootloader = false) {
this.logger.log("Try hard reset."); // Passthrough mode defaults to "off"
// Check for noReset toggle // Passthrough checkbox is "on" will prevent a controller reset
const noResetCheckbox = document.getElementById("noReset"); const noResetCheckbox = document.getElementById("noReset");
const noResetEnabled = noResetCheckbox const noReset = noResetCheckbox ? noResetCheckbox.checked : false;
? noResetCheckbox.checked if (noReset) {
: false; return; // Skip reset if noReset is true
if (noResetEnabled) {
this.logger.log("No reset requested; skipping hard reset.");
return; // Skip reset if noReset is enabled
} }
if (bootloader) { if (bootloader) {
// enter flash mode // enter flash mode

2
dist/web/index.js vendored

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