mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_GPS: add gps() to AP:: namespace
This commit is contained in:
parent
1f1bb61bfa
commit
693823ae0d
@ -1519,3 +1519,12 @@ bool AP_GPS::prepare_for_arming(void) {
|
||||
}
|
||||
return all_passed;
|
||||
}
|
||||
|
||||
namespace AP {
|
||||
|
||||
AP_GPS &gps()
|
||||
{
|
||||
return AP_GPS::gps();
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -562,3 +562,7 @@ private:
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
namespace AP {
|
||||
AP_GPS &gps();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user