Copter: minor format fix for motors.cpp

This commit is contained in:
squilter 2017-07-31 14:21:40 +09:00 committed by Andrew Tridgell
parent 159906762f
commit c4fa8cb7a4
1 changed files with 3 additions and 3 deletions

View File

@ -272,7 +272,7 @@ void Copter::init_disarm_motors()
void Copter::motors_output() void Copter::motors_output()
{ {
#if ADVANCED_FAILSAFE == ENABLED #if ADVANCED_FAILSAFE == ENABLED
// this is to allow the failsafe module to deliberately crash // this is to allow the failsafe module to deliberately crash
// the vehicle. Only used in extreme circumstances to meet the // the vehicle. Only used in extreme circumstances to meet the
// OBC rules // OBC rules
if (g2.afs.should_crash_vehicle()) { if (g2.afs.should_crash_vehicle()) {
@ -291,10 +291,10 @@ void Copter::motors_output()
// cork now, so that all channel outputs happen at once // cork now, so that all channel outputs happen at once
hal.rcout->cork(); hal.rcout->cork();
// update output on any aux channels, for manual passthru // update output on any aux channels, for manual passthru
SRV_Channels::output_ch_all(); SRV_Channels::output_ch_all();
// check if we are performing the motor test // check if we are performing the motor test
if (ap.motor_test) { if (ap.motor_test) {
motor_test_output(); motor_test_output();