[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5219] fix kill_throttle handler when kill setting i
From: |
Gautier Hattenberger |
Subject: |
[paparazzi-commits] [5219] fix kill_throttle handler when kill setting is received from the gcs |
Date: |
Wed, 04 Aug 2010 17:32:07 +0000 |
Revision: 5219
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5219
Author: gautier
Date: 2010-08-04 17:32:07 +0000 (Wed, 04 Aug 2010)
Log Message:
-----------
fix kill_throttle handler when kill setting is received from the gcs
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/booz/booz2_autopilot.h
Modified: paparazzi3/trunk/sw/airborne/booz/booz2_autopilot.h
===================================================================
--- paparazzi3/trunk/sw/airborne/booz/booz2_autopilot.h 2010-08-04 17:30:16 UTC
(rev 5218)
+++ paparazzi3/trunk/sw/airborne/booz/booz2_autopilot.h 2010-08-04 17:32:07 UTC
(rev 5219)
@@ -92,7 +92,8 @@
#define booz2_autopilot_KillThrottle(_v) { \
kill_throttle = _v;
\
- booz2_autopilot_motors_on = !kill_throttle;
\
+ if (kill_throttle) booz2_autopilot_motors_on = FALSE;
\
+ else booz2_autopilot_motors_on = TRUE; \
}
#define booz2_autopilot_SetPowerSwitch(_v) { \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5219] fix kill_throttle handler when kill setting is received from the gcs,
Gautier Hattenberger <=