Skip to content

Hardcoded timeout in USB_Send #478

Open
@Ryzee119

Description

@Ryzee119

Here:
u8 timeout = 250

250ms is quite large for my application. Could this be moved to a compile time define?

Perhaps something like this?

#ifndef USB_SEND_TIMEOUT
#define USB_SEND_TIMEOUT 250
#endif
- u8 timeout = 250;		 // 250ms timeout on send? TODO
+ u8 timeout = USB_SEND_TIMEOUT; // timeout on send? TODO

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions