diff --git a/sdk/commands/config.ts b/sdk/commands/config.ts index 213a534..b725877 100644 --- a/sdk/commands/config.ts +++ b/sdk/commands/config.ts @@ -361,14 +361,13 @@ export class SMXConfig { */ constructor(data: Uint8Array, firmwareVersion: number) { this.firmwareVersion = firmwareVersion; - console.log("Config Firmware Version: ", this.firmwareVersion); - console.log("CONFIG RAW DATA: ", data.toString()); + console.debug("CONFIG RAW DATA: ", data.toString()); if (this.firmwareVersion >= 5) { this.config = smx_config_t.decode(data.slice(2, -1), true); } else { this.oldConfigSize = data[1]; - console.log("Reading Old Config"); + console.debug("Reading Old Config"); const slicedData = data.slice(2, -1); // handle very old stage's smaller config data by padding diff --git a/sdk/commands/data_info.ts b/sdk/commands/data_info.ts index de4e3b2..a8359df 100644 --- a/sdk/commands/data_info.ts +++ b/sdk/commands/data_info.ts @@ -23,7 +23,7 @@ export class SMXDeviceInfo { player = 0; constructor(data: Uint8Array) { - console.log("DEVICEINFO RAW DATA: ", data.toString()); + console.debug("DEVICEINFO RAW DATA: ", data.toString()); this.#decode(data); } diff --git a/sdk/smx.ts b/sdk/smx.ts index 7c2aa39..155faf3 100644 --- a/sdk/smx.ts +++ b/sdk/smx.ts @@ -51,8 +51,6 @@ class SMXEvents { .filter((e) => e.type === "host_cmd_finished") .map((e) => e.type === "host_cmd_finished"); - finishedCommand$.log("Cmd Finished"); - const okSend$ = finishedCommand$.startWith(true); // Main USB Output diff --git a/ui/ui.tsx b/ui/ui.tsx index d7f513f..1b00c76 100644 --- a/ui/ui.tsx +++ b/ui/ui.tsx @@ -23,7 +23,6 @@ function usePreviouslyPairedDevices() { if (browserSupported) { navigator.hid.getDevices().then((devices) => devices.map((device) => { - console.log(`Found device: ${device.productName}`); open_smx_device(device); }), );