Skip to content

Commit

Permalink
Fix BadgeUSB.connect()
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Mar 30, 2023
1 parent 4b97cee commit 9c1d4cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@badge.team/badge-webusb",
"version": "1.0.0-RC1",
"version": "1.0.0-RC2",
"description": "Web API for the Badge.team MCH2022 badge",
"keywords": [
"USB", "WebUSB",
Expand Down
2 changes: 1 addition & 1 deletion src/badge-usb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class BadgeUSB {
await badge.controlReset(false);
}

await badge._listen();
badge._listen();

let protocolVersion: number | undefined;
while (protocolVersion == undefined) {
Expand Down

0 comments on commit 9c1d4cc

Please sign in to comment.