mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 04:45:20 +03:00
Adding Dynamic Idle
This commit is contained in:
parent
aef32bb63e
commit
6aaababb1d
5 changed files with 53 additions and 8 deletions
|
@ -1146,6 +1146,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
|||
if(semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
||||
ADVANCED_TUNING.motorOutputLimit = data.readU8();
|
||||
ADVANCED_TUNING.autoProfileCellCount = data.readU8();
|
||||
ADVANCED_TUNING.idleMinRpm = data.readU8();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2079,7 +2080,8 @@ MspHelper.prototype.crunch = function(code) {
|
|||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
||||
buffer.push8(ADVANCED_TUNING.motorOutputLimit)
|
||||
.push8(ADVANCED_TUNING.autoProfileCellCount);
|
||||
.push8(ADVANCED_TUNING.autoProfileCellCount)
|
||||
.push8(ADVANCED_TUNING.idleMinRpm);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue