From c5c8772458695eef0af8a21f532d3399a35d40b2 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Tue, 3 Sep 2013 17:30:01 +0200 Subject: [PATCH] [rotorcraft] ups, fix wrong endif --- sw/airborne/firmwares/rotorcraft/guidance/guidance_h.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/airborne/firmwares/rotorcraft/guidance/guidance_h.c b/sw/airborne/firmwares/rotorcraft/guidance/guidance_h.c index e94ac41b18..842f3ccf21 100644 --- a/sw/airborne/firmwares/rotorcraft/guidance/guidance_h.c +++ b/sw/airborne/firmwares/rotorcraft/guidance/guidance_h.c @@ -155,8 +155,8 @@ void guidance_h_mode_changed(uint8_t new_mode) { if (guidance_h_mode == GUIDANCE_H_MODE_KILL || guidance_h_mode == GUIDANCE_H_MODE_RATE || guidance_h_mode == GUIDANCE_H_MODE_RC_DIRECT) - stabilization_attitude_enter(); #endif + stabilization_attitude_enter(); break; case GUIDANCE_H_MODE_NAV: @@ -166,8 +166,8 @@ void guidance_h_mode_changed(uint8_t new_mode) { if (guidance_h_mode == GUIDANCE_H_MODE_KILL || guidance_h_mode == GUIDANCE_H_MODE_RATE || guidance_h_mode == GUIDANCE_H_MODE_RC_DIRECT) - stabilization_attitude_enter(); #endif + stabilization_attitude_enter(); break; default: