|
|
|
@ -51,9 +51,7 @@ void Tracker::update_GPS(void)
@@ -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; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|