usb/sagas: Drop debug prints.

We don't have these for BLE either, and it makes other debugging harder.
This commit is contained in:
Laurens Valk
2026-04-02 10:25:39 +02:00
parent c49df2b81f
commit ea9af98d1f
-4
View File
@@ -461,8 +461,6 @@ function* handleUsbConnectPybricks(hotPlugDevice?: USBDevice): Generator {
continue; continue;
} }
console.debug('Received USB message:', result.data);
switch (result.data.getInt8(0)) { switch (result.data.getInt8(0)) {
case PybricksUsbInEndpointMessageType.Response: case PybricksUsbInEndpointMessageType.Response:
yield* put( yield* put(
@@ -509,8 +507,6 @@ function* handleUsbConnectPybricks(hotPlugDevice?: USBDevice): Generator {
for (;;) { for (;;) {
const action = yield* take(chan); const action = yield* take(chan);
console.debug('Processing USB action:', action);
if (usbPybricksSubscribe.matches(action)) { if (usbPybricksSubscribe.matches(action)) {
const message = new DataView(new ArrayBuffer(2)); const message = new DataView(new ArrayBuffer(2));
message.setUint8(0, PybricksUsbOutEndpointMessageType.Subscribe); message.setUint8(0, PybricksUsbOutEndpointMessageType.Subscribe);