From 3c01353dcda2c67940f7413e0a5cbec252365c92 Mon Sep 17 00:00:00 2001 From: benoit35690 Date: Thu, 16 Oct 2014 14:30:07 +0200 Subject: [PATCH] Copter: fix compiler warning in control_auto.pde --- ArduCopter/control_auto.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/control_auto.pde b/ArduCopter/control_auto.pde index 4966a06566..5db8cbfa82 100644 --- a/ArduCopter/control_auto.pde +++ b/ArduCopter/control_auto.pde @@ -76,11 +76,11 @@ static void auto_run() auto_spline_run(); break; -#if NAV_GUIDED == ENABLED case Auto_NavGuided: +#if NAV_GUIDED == ENABLED auto_nav_guided_run(); - break; #endif + break; case Auto_Loiter: auto_loiter_run();