Skip to content

Commit

Permalink
compare to proper value
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmelis authored Oct 2, 2024
1 parent 1692a0a commit 08c37ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VS1/VS1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ void VS1::_receive() {
_responseBuffer[_bytesTransferred] = _interface->read();
++_bytesTransferred;
_lastMillis = _currentMillis;
vw_log_i("rcv %u / %u", _bytesTransferred, _currentRequest.length());
vw_log_i("rcv %u / %u", _bytesTransferred, _currentDatapoint.length());
}
if (_bytesTransferred == _currentRequest.length()) {
if (_bytesTransferred == _currentDatapoint.length()) {
_bytesTransferred = 0;
_setState(State::SYNC_RECV);
_tryOnResponse();
Expand Down

0 comments on commit 08c37ae

Please sign in to comment.