mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Additional code style cleanup
This commit is contained in:
parent
47c7409ec4
commit
930a9b9b4e
1 changed files with 5 additions and 5 deletions
|
@ -1240,13 +1240,13 @@ static bool processOutCommand(uint8_t cmdMSP)
|
|||
case MSP_ADVANCED_CONFIG :
|
||||
headSerialReply(6);
|
||||
if (masterConfig.gyro_lpf == 0) {
|
||||
serialize8(masterConfig.gyro_sync_denom);
|
||||
serialize8(masterConfig.pid_process_denom);
|
||||
serialize8(masterConfig.gyro_sync_denom);
|
||||
serialize8(masterConfig.pid_process_denom);
|
||||
} else {
|
||||
serialize8(8); // If gyro_lpf != OFF then looptime is set to 1000
|
||||
serialize8(1);
|
||||
serialize8(8); // If gyro_lpf != OFF then looptime is set to 1000
|
||||
serialize8(1);
|
||||
}
|
||||
serialize8(masterConfig.use_unsyncedPwm);
|
||||
serialize8(masterConfig.use_unsyncedPwm);
|
||||
serialize8(masterConfig.motor_pwm_protocol);
|
||||
serialize16(masterConfig.motor_pwm_rate);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue