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
This commit is contained in:
Peter Barker 2023-02-03 09:58:38 +11:00 committed by Peter Barker
parent 95065fab35
commit d13a4579e3

View File

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