Skip to content

Commit

Permalink
bump qdl (sparse flash) (#119)
Browse files Browse the repository at this point in the history
* bump qdl (sparse branch)

* timing

* bump

* bump (master)

* fix
  • Loading branch information
incognitojam authored Mar 5, 2025
1 parent dd5312e commit 93f59a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"node": ">=20.11.0"
},
"dependencies": {
"@commaai/qdl": "git+https://github.com/commaai/qdl.js.git#25bb324",
"@commaai/qdl": "git+https://github.com/commaai/qdl.js.git#5ff7c296c1ab3c5a0181097d830d2794cf84d238",
"@fontsource-variable/inter": "^5.0.18",
"@fontsource-variable/jetbrains-mono": "^5.0.21",
"comlink": "^4.4.1",
Expand Down
2 changes: 2 additions & 0 deletions src/utils/qdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,9 @@ export class QdlManager {
if (this.error !== Error.NONE) return
await this.downloadImages()
if (this.error !== Error.NONE) return
const start = performance.now()
await this.flashDevice()
console.debug(`Flashing took ${((performance.now() - start) / 1000).toFixed(2)}s`)
if (this.error !== Error.NONE) return
await this.eraseDevice()
}
Expand Down

0 comments on commit 93f59a6

Please sign in to comment.