From d9ef916a826ab0662a5a29caf7c7341a4edd5066 Mon Sep 17 00:00:00 2001 From: murata Date: Thu, 10 Feb 2022 23:05:15 +0900 Subject: [PATCH] Tracker: Change the process for errors --- AntennaTracker/sensors.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/AntennaTracker/sensors.cpp b/AntennaTracker/sensors.cpp index 1a63346aa0..55946944d9 100644 --- a/AntennaTracker/sensors.cpp +++ b/AntennaTracker/sensors.cpp @@ -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; } }