Copter: fix compiler warning in control_auto.pde

This commit is contained in:
benoit35690 2014-10-16 14:30:07 +02:00 committed by Randy Mackay
parent 92b67cca5b
commit 3c01353dcd
1 changed files with 2 additions and 2 deletions

View File

@ -76,11 +76,11 @@ static void auto_run()
auto_spline_run(); auto_spline_run();
break; break;
#if NAV_GUIDED == ENABLED
case Auto_NavGuided: case Auto_NavGuided:
#if NAV_GUIDED == ENABLED
auto_nav_guided_run(); auto_nav_guided_run();
break;
#endif #endif
break;
case Auto_Loiter: case Auto_Loiter:
auto_loiter_run(); auto_loiter_run();