Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDM_MAX_DELAY too short #83

Open
geronet1 opened this issue Nov 17, 2023 · 0 comments
Open

SDM_MAX_DELAY too short #83

geronet1 opened this issue Nov 17, 2023 · 0 comments

Comments

@geronet1
Copy link
Contributor

`#if !defined ( WAITING_TURNAROUND_DELAY )
#define WAITING_TURNAROUND_DELAY 500 // time in ms to wait for process current request
#endif

#if !defined ( RESPONSE_TIMEOUT )
#define RESPONSE_TIMEOUT 10 // time in ms to wait for return response from all devices before next request
#endif

#if !defined ( SDM_MIN_DELAY )
#define SDM_MIN_DELAY 1 // minimum value (in ms) for WAITING_TURNAROUND_DELAY and RESPONSE_TIMEOUT
#endif

#if !defined ( SDM_MAX_DELAY )
#define SDM_MAX_DELAY 20 // maximum value (in ms) for WAITING_TURNAROUND_DELAY and RESPONSE_TIMEOUT
#endif`

doesn't make sense: WAITING_TURNAROUND_DELAY is 500 ms and the maximum is 20 with SDM_MAX_DELAY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant