Skip to content

Commit

Permalink
Adjust CONTROL and POWER_GRADE reply size
Browse files Browse the repository at this point in the history
  • Loading branch information
enwi committed Aug 3, 2022
1 parent 10649c0 commit f068cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NETSGPClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ bool NETSGPClient::findAndReadReply(const Command command)
break;
case Command::CONTROL:
case Command::POWER_GRADE:
// whole message is 16 bytes
bytesToRead = 14;
// whole message is 15 bytes
bytesToRead = 13;
break;
default:
bytesToRead = 0;
Expand Down

0 comments on commit f068cbd

Please sign in to comment.