AP_GPS: add gps() to AP:: namespace

This commit is contained in:
Peter Barker 2017-10-25 14:58:57 +11:00 committed by Francisco Ferreira
parent 1f1bb61bfa
commit 693823ae0d
2 changed files with 13 additions and 0 deletions

View File

@ -1519,3 +1519,12 @@ bool AP_GPS::prepare_for_arming(void) {
}
return all_passed;
}
namespace AP {
AP_GPS &gps()
{
return AP_GPS::gps();
}
};

View File

@ -562,3 +562,7 @@ private:
};
};
namespace AP {
AP_GPS &gps();
};