Browse Source

Copter: remove setting of nav mode

master
Randy Mackay 11 years ago committed by Andrew Tridgell
parent
commit
3b003ea3e6
  1. 4
      ArduCopter/system.pde

4
ArduCopter/system.pde

@ -389,17 +389,14 @@ static bool set_mode(uint8_t mode) @@ -389,17 +389,14 @@ static bool set_mode(uint8_t mode)
switch(mode) {
case ACRO:
success = acro_init(ignore_checks);
set_nav_mode(NAV_NONE);
break;
case STABILIZE:
success = stabilize_init(ignore_checks);
set_nav_mode(NAV_NONE);
break;
case ALT_HOLD:
success = althold_init(ignore_checks);
set_nav_mode(NAV_NONE);
break;
case AUTO:
@ -433,7 +430,6 @@ static bool set_mode(uint8_t mode) @@ -433,7 +430,6 @@ static bool set_mode(uint8_t mode)
case LAND:
success = land_init(ignore_checks);
do_land(NULL); // land at current location
break;
case RTL:

Loading…
Cancel
Save