Skip to content

Commit

Permalink
fix(debug): make BadgeUSB RX/TX debug switches public
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Apr 4, 2023
1 parent 2fad263 commit 65b62b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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.1.2",
"version": "1.1.3",
"description": "Web API for the Badge.team MCH2022 badge",
"keywords": [
"USB",
Expand Down
6 changes: 3 additions & 3 deletions src/badge-usb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ export class BadgeUSB {
static readonly PROTOCOL_COMMAND_CONFIGURATION_WRITE = new DataView(this.textEncoder.encode("NVSW").buffer).getUint32(0, true);
static readonly PROTOCOL_COMMAND_CONFIGURATION_REMOVE = new DataView(this.textEncoder.encode("NVSD").buffer).getUint32(0, true);

private listening = false;
private connected = false;
private debug = {
public debug = {
rx: false,
tx: false,
};
private listening = false;
private connected = false;

constructor(
private device: USBDevice,
Expand Down

0 comments on commit 65b62b6

Please sign in to comment.