Rover: change motor_active to be based on servo out rather than radio in

This commit is contained in:
Peter Barker 2016-10-26 13:19:13 +11:00 committed by Randy Mackay
parent cfee3b6c0e
commit f1b776e4eb
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ bool Rover::motor_active()
{ {
// Check if armed and throttle is not neutral // Check if armed and throttle is not neutral
if (hal.util->get_soft_armed()) { if (hal.util->get_soft_armed()) {
if (!channel_throttle->in_trim_dz()) { if (channel_throttle->get_servo_out() != channel_throttle->get_radio_trim()) {
return true; return true;
} }
} }