Skip to content

Commit

Permalink
No longer warn about the extra two status bytes
Browse files Browse the repository at this point in the history
Since we're pretty confident we know what they are now, even
though Pokit Innovations still has not provided any documentation
for them.
  • Loading branch information
pcolby committed Nov 13, 2023
1 parent 01294b2 commit bc43371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/statusservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ StatusService::Status StatusServicePrivate::parseStatus(const QByteArray &value)
* switch position, while the other extra byte indicates the device's current charging status.
*/

if (!checkSize(QLatin1String("Status"), value, 5, 6)) {
if (!checkSize(QLatin1String("Status"), value, 5, 8)) {
return status;
}

Expand Down

0 comments on commit bc43371

Please sign in to comment.