mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +03:00
found another thing that is new...
This commit is contained in:
parent
90932aa25a
commit
3a54411938
1 changed files with 6 additions and 4 deletions
10
js/msp.js
10
js/msp.js
|
@ -906,10 +906,12 @@ var MSP = {
|
|||
offset += 2;
|
||||
RX_CONFIG.rx_max_usec = data.getUint16(offset, 1);
|
||||
offset += 2;
|
||||
RX_CONFIG.rcSmoothing = data.getUint8(offset, 1);
|
||||
RX_CONFIG.rcSmoothInterval = data.getUint8(offset, 1);
|
||||
RX_CONFIG.airModeActivateThreshold = data.getUint16(offset, 1);
|
||||
offset += 2;
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "3.0.0")) {
|
||||
RX_CONFIG.rcSmoothing = data.getUint8(offset, 1);
|
||||
RX_CONFIG.rcSmoothInterval = data.getUint8(offset, 1);
|
||||
RX_CONFIG.airModeActivateThreshold = data.getUint16(offset, 1);
|
||||
offset += 2;
|
||||
}
|
||||
break;
|
||||
|
||||
case MSP_codes.MSP_FAILSAFE_CONFIG:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue