fix kill_throttle handler when kill setting is received from the gcs

This commit is contained in:
Gautier Hattenberger
2010-08-04 17:32:07 +00:00
parent 3f8ef4dfa7
commit 0f6c5b67f2
+2 -1
View File
@@ -92,7 +92,8 @@ extern uint16_t booz2_autopilot_flight_time;
#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) { \