Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poller fix #53

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix typo
  • Loading branch information
kchiem committed Oct 2, 2021
commit a609f96f817288cf281a5e19f48e824ed54d4e9a
2 changes: 1 addition & 1 deletion sources/inverter-cli/inverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ bool cInverter::query(const char *cmd) {
int towrite = left > chunk_size ? chunk_size : left;
// WORKAROUND: For some reason, writing 1 byte causes it to error.
// However, since we padded with '\0' above, we can give it 2 instead.
// I don't know of any 6 (+ 2*CRC + '\r') byte commnads to test it on
// I don't know of any 6 (+ 2*CRC + '\r') byte commands to test it on
// but this at least gets it to return NAK.
if (towrite == 1) towrite = 2;
//lprintf("DEBUG: offset %d, writing %d", offset, towrite);
Expand Down