From d13a4579e3fc2d61945df90eae506c56c3798bb9 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 3 Feb 2023 09:58:38 +1100 Subject: [PATCH] AP_Camera: avoid using struct Location clang reports this could be a problem when compiling under some EABIs. Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h --- libraries/AP_Camera/AP_Camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Camera/AP_Camera.h b/libraries/AP_Camera/AP_Camera.h index 2686def27d..9f765b9d42 100644 --- a/libraries/AP_Camera/AP_Camera.h +++ b/libraries/AP_Camera/AP_Camera.h @@ -128,7 +128,7 @@ private: AP_Int16 _max_roll; // Maximum acceptable roll angle when trigging camera uint32_t _last_photo_time; // last time a photo was taken bool _trigger_pending; // true when we have delayed take_picture - struct Location _last_location; + Location _last_location; uint16_t _image_index; // number of pictures taken since boot // pin number for accurate camera feedback messages