mirror of https://github.com/ArduPilot/ardupilot
Tracker: Change the process for errors
This commit is contained in:
parent
b76d048a5e
commit
d9ef916a82
|
@ -51,9 +51,7 @@ void Tracker::update_GPS(void)
|
|||
// Now have an initial GPS position
|
||||
// use it as the HOME position in future startups
|
||||
current_loc = gps.location();
|
||||
if (!set_home(current_loc)) {
|
||||
// silently ignored
|
||||
}
|
||||
IGNORE_RETURN(set_home(current_loc));
|
||||
ground_start_count = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue