mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* LPPDataHelpers, readCurrent() signed value
This commit is contained in:
parent
9ee3008f88
commit
d7adcc136b
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue