mirror of https://github.com/ArduPilot/ardupilot
Copter: minor format fix
This commit is contained in:
parent
983356213a
commit
a8bcd50fdd
|
@ -269,7 +269,7 @@ bool Copter::should_disarm_on_failsafe() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(control_mode) {
|
switch (control_mode) {
|
||||||
case STABILIZE:
|
case STABILIZE:
|
||||||
case ACRO:
|
case ACRO:
|
||||||
// if throttle is zero OR vehicle is landed disarm motors
|
// if throttle is zero OR vehicle is landed disarm motors
|
||||||
|
|
|
@ -93,7 +93,7 @@ void Copter::update_heli_control_dynamics(void)
|
||||||
// should be called soon after update_land_detector in main code
|
// should be called soon after update_land_detector in main code
|
||||||
void Copter::heli_update_landing_swash()
|
void Copter::heli_update_landing_swash()
|
||||||
{
|
{
|
||||||
switch(control_mode) {
|
switch (control_mode) {
|
||||||
case ACRO:
|
case ACRO:
|
||||||
case STABILIZE:
|
case STABILIZE:
|
||||||
case DRIFT:
|
case DRIFT:
|
||||||
|
|
Loading…
Reference in New Issue