ArduCopter: 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:
parent
c49c638d41
commit
1f13fd35e3
@ -1497,7 +1497,7 @@ void GCS_MAVLINK_Copter::send_wind() const
|
||||
int16_t GCS_MAVLINK_Copter::high_latency_target_altitude() const
|
||||
{
|
||||
AP_AHRS &ahrs = AP::ahrs();
|
||||
struct Location global_position_current;
|
||||
Location global_position_current;
|
||||
UNUSED_RESULT(ahrs.get_location(global_position_current));
|
||||
|
||||
//return units are m
|
||||
|
Loading…
Reference in New Issue
Block a user