Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Increased default maxWait - for Serial #87

Merged
merged 3 commits into from
Apr 16, 2020
Merged

Conversation

PaulZC
Copy link
Collaborator

@PaulZC PaulZC commented Apr 16, 2020

This commit increases the default maxWait.
The default value of 250ms works perfectly well on I2C / Qwiic, but I see regular failures when using Serial. Some calls take a full second to be processed correctly.
isConnected now includes maxWait as a parameter too. I was seeing begin fail when using Serial. begin calls isConnected when then calls sendCommand. And the default maxWait of 250ms was causing problems.

@PaulZC PaulZC merged commit 4218e01 into master Apr 16, 2020
@PaulZC PaulZC deleted the Increased_maxWait_for_begin branch April 16, 2020 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant