converted to cm

Signed-off-by: Jason Short <jasonshort@mac.com>
This commit is contained in:
Jason Short 2012-01-21 22:14:08 -08:00
parent aace39e65c
commit 60e3508f7c
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ static void throttle_failsafe(uint16_t pwm)
// Don't enter Failsafe if we are not armed
// home distance is in meters
// This is to prevent accidental RTL
if((motor_armed == true) && (home_distance > 10) && (current_loc.alt > 400)){
if((motor_armed == true) && (home_distance > 1000) && (current_loc.alt > 400)){
SendDebug("MSG FS ON ");
SendDebugln(pwm, DEC);
set_failsafe(true);