Skip to content

Commit

Permalink
pass usbClass
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Feb 18, 2025
1 parent 8293d47 commit f57b59b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/qdl.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { qdlDevice } from '@commaai/qdl'
import { usbClass } from '@commaai/qdl/usblib'
import * as Comlink from 'comlink'

import { getManifest } from '../utils/manifest'
Expand Down Expand Up @@ -207,7 +208,7 @@ export class QdlManager {
*/
async connect() {
try {
await this.qdl.connect()
await this.qdl.connect(new usbClass())
console.info('[QDL] Connected')

const { serial_num } = await this.qdl.getStorageInfo()
Expand Down

0 comments on commit f57b59b

Please sign in to comment.