mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
fix kill_throttle handler when kill setting is received from the gcs
This commit is contained in:
@@ -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) { \
|
||||
|
||||
Reference in New Issue
Block a user