Tracker: Change the process for errors

This commit is contained in:
murata 2022-02-10 23:05:15 +09:00 committed by Tom Pittenger
parent b76d048a5e
commit d9ef916a82

View File

@ -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;
} }
} }