mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 01:35:28 +03:00
fix Blackbox logging rate over 8kHz #415
This commit is contained in:
parent
a87c60c151
commit
05b68927cd
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ TABS.onboard_logging.initialize = function (callback) {
|
||||||
|
|
||||||
// Offer a reasonable choice of logging rates (if people want weird steps they can use CLI)
|
// Offer a reasonable choice of logging rates (if people want weird steps they can use CLI)
|
||||||
var loggingRates = [];
|
var loggingRates = [];
|
||||||
var pidRate = 8000 / PID_ADVANCED_CONFIG.gyro_sync_denom / PID_ADVANCED_CONFIG.pid_process_denom;
|
var pidRate = 32000 / PID_ADVANCED_CONFIG.gyro_sync_denom / PID_ADVANCED_CONFIG.pid_process_denom;
|
||||||
|
|
||||||
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
|
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
|
||||||
loggingRates = [
|
loggingRates = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue