mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 13:25:24 +03:00
Changed current meter scale and offset to signed.
This commit is contained in:
parent
6c4120d0da
commit
96f2dbbf5c
1 changed files with 2 additions and 2 deletions
|
@ -213,8 +213,8 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
|||
}
|
||||
break;
|
||||
case MSPCodes.MSP_CURRENT_METER_CONFIG:
|
||||
BF_CONFIG.currentscale = data.readU16();
|
||||
BF_CONFIG.currentoffset = data.readU16();
|
||||
BF_CONFIG.currentscale = data.read16();
|
||||
BF_CONFIG.currentdiff adiffname = data.read16();
|
||||
BF_CONFIG.currentmetertype = data.readU8();
|
||||
BF_CONFIG.batterycapacity = data.readU16();
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue