[autopilot] use getter function in intermcu_ap

This commit is contained in:
Gautier Hattenberger
2017-02-23 22:13:01 +01:00
parent 7282b29560
commit 4e615208c5
@@ -115,7 +115,7 @@ void intermcu_set_actuators(pprz_t *command_values, uint8_t ap_mode __attribute_
}
// Set the autopilot motors on status
if (autopilot_motors_on) {
if (autopilot_get_motors_on()) {
INTERMCU_SET_CMD_STATUS(INTERMCU_CMD_MOTORS_ON);
}