mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 08:15:22 +03:00
Fixed configurator problems with 3.0.0.
This commit is contained in:
parent
0c26117c56
commit
7cc9401d42
1 changed files with 2 additions and 2 deletions
|
@ -1535,7 +1535,7 @@ MSP.crunch = function (code) {
|
|||
buffer.push(highByte(RX_CONFIG.rx_min_usec));
|
||||
buffer.push(lowByte(RX_CONFIG.rx_max_usec));
|
||||
buffer.push(highByte(RX_CONFIG.rx_max_usec));
|
||||
if (semver.lt(CONFIG.apiVersion, "1.20.0")) {
|
||||
if (semver.gte(CONFIG.apiVersion, "1.20.0")) {
|
||||
buffer.push(RX_CONFIG.rcSmoothing);
|
||||
buffer.push(RX_CONFIG.rcSmoothInterval);
|
||||
buffer.push(lowByte(RX_CONFIG.airModeActivateThreshold));
|
||||
|
@ -1658,7 +1658,7 @@ MSP.crunch = function (code) {
|
|||
.push16(ADVANCED_TUNING.yawItermIgnoreRate)
|
||||
.push16(ADVANCED_TUNING.yaw_p_limit)
|
||||
.push8(ADVANCED_TUNING.deltaMethod);
|
||||
if (semver.lt(CONFIG.apiVersion, "1.20.0")) {
|
||||
if (semver.gte(CONFIG.apiVersion, "1.20.0")) {
|
||||
buffer.push8(ADVANCED_TUNING.vbatPidCompensation)
|
||||
.push8(ADVANCED_TUNING.ptermSetpointWeight)
|
||||
.push8(ADVANCED_TUNING.dtermSetpointWeight)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue