mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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
|
// Now have an initial GPS position
|
||||||
// use it as the HOME position in future startups
|
// use it as the HOME position in future startups
|
||||||
current_loc = gps.location();
|
current_loc = gps.location();
|
||||||
if (!set_home(current_loc)) {
|
IGNORE_RETURN(set_home(current_loc));
|
||||||
// silently ignored
|
|
||||||
}
|
|
||||||
ground_start_count = 0;
|
ground_start_count = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user