Skip to content

Commit

Permalink
fix(usb): increase read delay
Browse files Browse the repository at this point in the history
fixes broken hello_usb test on SDK 1.5.1
  • Loading branch information
urish committed Feb 24, 2024
1 parent a0b2471 commit a0f438d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peripherals/usb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit a0f438d

Please sign in to comment.