From a0f438d906bdd55da80d4f045035000b4d94505d Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sat, 24 Feb 2024 22:47:34 +0200 Subject: [PATCH] fix(usb): increase read delay fixes broken hello_usb test on SDK 1.5.1 --- src/peripherals/usb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peripherals/usb.ts b/src/peripherals/usb.ts index d70dacf..2d154fb 100644 --- a/src/peripherals/usb.ts +++ b/src/peripherals/usb.ts @@ -120,7 +120,7 @@ export class RPUSBController extends BasePeripheral { onEndpointWrite?: (endpoint: number, buffer: Uint8Array) => void; onEndpointRead?: (endpoint: number, byteCount: number) => void; - readDelayMicroseconds = 1; + readDelayMicroseconds = 10; writeDelayMicroseconds = 10; // Determined empirically get intStatus() {