mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 05:15:21 +03:00
Work with gyro native sampling
This commit is contained in:
parent
55aab38680
commit
9394d5901c
7 changed files with 115 additions and 73 deletions
|
@ -800,6 +800,11 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
|||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
|
||||
CONFIG.configurationState = data.readU8();
|
||||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.43.0")) {
|
||||
CONFIG.sampleRateHz = data.readU16();
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
CONFIG.mcuTypeId = 255;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue