Skip to content

Conversation

@remibettan
Copy link
Contributor

all calls to waitForFrames timeouts changed to default - 5 sec


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

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 realsenseai: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.

2 participants