fix style

10.3.x-maintenance
DESKTOP-9KCKBM4\pff 2018-02-26 09:53:55 +02:00
parent d5a55fc3d8
commit 188a19dc8a
1 changed files with 3 additions and 1 deletions

View File

@ -182,7 +182,9 @@ TABS.onboard_logging.initialize = function (callback) {
var loggingRates = []; var loggingRates = [];
var pidRateBase = 8000; var pidRateBase = 8000;
if (PID_ADVANCED_CONFIG.gyroUse32kHz !== 0) pidRateBase = 32000; if (PID_ADVANCED_CONFIG.gyroUse32kHz !== 0) {
pidRateBase = 32000;
}
var pidRate = pidRateBase / PID_ADVANCED_CONFIG.gyro_sync_denom / var pidRate = pidRateBase / PID_ADVANCED_CONFIG.gyro_sync_denom /
PID_ADVANCED_CONFIG.pid_process_denom; PID_ADVANCED_CONFIG.pid_process_denom;