Skip to content

Commit a0f438d

Browse files
committed
fix(usb): increase read delay
fixes broken hello_usb test on SDK 1.5.1
1 parent a0b2471 commit a0f438d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peripherals/usb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class RPUSBController extends BasePeripheral {
120120
onEndpointWrite?: (endpoint: number, buffer: Uint8Array) => void;
121121
onEndpointRead?: (endpoint: number, byteCount: number) => void;
122122

123-
readDelayMicroseconds = 1;
123+
readDelayMicroseconds = 10;
124124
writeDelayMicroseconds = 10; // Determined empirically
125125

126126
get intStatus() {

0 commit comments

Comments
 (0)