Skip to content

Commit

Permalink
fix forgotten
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmelis authored Nov 30, 2023
1 parent 1c51999 commit 06de644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GWG/GWG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void GWG::_receive() {
}
if (_bytesTransferred == _currentRequest.length()) {
_bytesTransferred = 0;
_setState(State::IDLE);
_setState(State::INIT);
_tryOnResponse();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/GWG/GWG.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class GWG {
uint8_t _bytesTransferred;
VitoWiFiInternals::SerialInterface* _interface;
Datapoint _currentDatapoint;
PacketVS1 _currentRequest;
PacketGWG _currentRequest;
uint8_t* _responseBuffer;
uint8_t _allocatedLength;
OnResponseCallback _onResponseCallback;
Expand Down

0 comments on commit 06de644

Please sign in to comment.