Skip to content

Commit ea9af98

Browse files
committed
usb/sagas: Drop debug prints.
We don't have these for BLE either, and it makes other debugging harder.
1 parent c49df2b commit ea9af98

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/usb/sagas.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,6 @@ function* handleUsbConnectPybricks(hotPlugDevice?: USBDevice): Generator {
461461
continue;
462462
}
463463

464-
console.debug('Received USB message:', result.data);
465-
466464
switch (result.data.getInt8(0)) {
467465
case PybricksUsbInEndpointMessageType.Response:
468466
yield* put(
@@ -509,8 +507,6 @@ function* handleUsbConnectPybricks(hotPlugDevice?: USBDevice): Generator {
509507
for (;;) {
510508
const action = yield* take(chan);
511509

512-
console.debug('Processing USB action:', action);
513-
514510
if (usbPybricksSubscribe.matches(action)) {
515511
const message = new DataView(new ArrayBuffer(2));
516512
message.setUint8(0, PybricksUsbOutEndpointMessageType.Subscribe);

0 commit comments

Comments
 (0)