Skip to content

Commit

Permalink
longer timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmelis authored Oct 2, 2024
1 parent 03e5086 commit 193af83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VS1/VS1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void VS1::loop() {
break;
}
// double timeout to accomodate for connection initialization
if (_currentDatapoint && _currentMillis - _requestTime > 4000UL) {
if (_currentDatapoint && _currentMillis - _requestTime > 5000UL) {
_setState(State::INIT);
_tryOnError(OptolinkResult::TIMEOUT);
}
Expand Down

0 comments on commit 193af83

Please sign in to comment.