1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-20 23:05:15 +03:00

fix style

This commit is contained in:
DESKTOP-9KCKBM4\pff 2018-02-26 09:53:55 +02:00
parent d5a55fc3d8
commit 188a19dc8a

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;