Skip to content

Commit

Permalink
aaaaah
Browse files Browse the repository at this point in the history
  • Loading branch information
seeul8er committed Aug 17, 2024
1 parent b370596 commit 1f5f28e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dronebridge_esp32_flasher.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down

0 comments on commit 1f5f28e

Please sign in to comment.