* LPPDataHelpers, readCurrent() signed value

This commit is contained in:
Scott Powell 2025-12-06 16:49:25 +11:00
parent 9ee3008f88
commit d7adcc136b

View file

@ -113,7 +113,7 @@ public:
return _pos <= _len;
}
bool readCurrent(float& amps) {
amps = getFloat(&_buf[_pos], 2, 1000, false); _pos += 2;
amps = getFloat(&_buf[_pos], 2, 1000, true); _pos += 2;
return _pos <= _len;
}
bool readPower(float& watts) {