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

waitForFrames timeout - all calls changed to default - 5s #6699

Conversation

remibettan
Copy link
Contributor

all calls to waitForFrames timeouts changed to default - 5 sec

@@ -24,7 +24,7 @@ public void stop() {
}

public FrameSet waitForFrames() throws Exception {
return waitForFrames(5000);
return waitForFrames(5000); //defining default timeout
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So you can drop the value since it's the default.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well this is the place in which the default is assigned.
There is no API method without the timeout, so it should be assigned before calling the API method.

@ev-mp ev-mp merged commit e950efe into IntelRealSense:ac Jun 25, 2020
@remibettan remibettan deleted the android-all-waitForFrames-with-default-timeout branch March 15, 2021 06:27
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

Successfully merging this pull request may close these issues.

None yet

2 participants