From 1f5f28e20141176d3c3641e46d2d99bbbcf93d6c Mon Sep 17 00:00:00 2001 From: seeul8er <24637325+seeul8er@users.noreply.github.com> Date: Sat, 17 Aug 2024 19:08:30 +0200 Subject: [PATCH] aaaaah --- dronebridge_esp32_flasher.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dronebridge_esp32_flasher.js b/dronebridge_esp32_flasher.js index 5d5a70f..1a5f345 100644 --- a/dronebridge_esp32_flasher.js +++ b/dronebridge_esp32_flasher.js @@ -1,8 +1,7 @@ -import { ESPLoader, Transport } from './ESP32/esptool/bundle.js'; -import { serial } from './ESP32/web-serial-polyfill/serial.js'; -// for local testing -//import { ESPLoader, Transport } from './esptool/bundle.js'; -//import { serial } from './web-serial-polyfill/serial.js'; +// import { ESPLoader, Transport } from './ESP32/esptool/bundle.js'; +// import { serial } from './ESP32/web-serial-polyfill/serial.js'; +import { ESPLoader, Transport } from './esptool/bundle.js'; +import { serial } from './web-serial-polyfill/serial.js'; if (!navigator.serial && navigator.usb) navigator.serial = serial; // switch to WebSerial over WebUSB by polyfill const not_compatible_warning = document.getElementById('not_compatible_warning');