1
0
Fork 0
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:
Miguel Angel Mulero Martinez 2020-02-04 11:35:03 +01:00
parent 55aab38680
commit 9394d5901c
7 changed files with 115 additions and 73 deletions

View file

@ -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;