Skip to content

Commit

Permalink
Fix BT uncaught
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Oct 24, 2024
1 parent 467b6cc commit 56e52e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
></betaflight-logo>
<port-picker
v-model="PortHandler.portPicker"
:connected-bluetooth-devices="PortHandler.currentBluetoothPorts"
:connected-serial-devices="PortHandler.currentSerialPorts"
:connected-usb-devices="PortHandler.currentUsbPorts"
:show-virtual-option="PortHandler.showVirtualMode"
Expand Down
2 changes: 1 addition & 1 deletion src/js/protocols/bluetooth.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class BT extends EventTarget {
}

async loadDevices() {
const devices = await this.bluetooth.getDevices();
const devices = await this.getDevices();

this.portCounter = 1;
this.devices = devices.map(device => this.createPort(device));
Expand Down

0 comments on commit 56e52e7

Please sign in to comment.