mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 09:43:57 -04:00
Mount: updates for new AP_Param API
This commit is contained in:
parent
f393389db2
commit
9d1f43928c
@ -176,6 +176,7 @@ extern RC_Channel* rc_ch[8];
|
|||||||
AP_Mount::AP_Mount(const struct Location *current_loc, GPS *&gps, AP_AHRS *ahrs, uint8_t id) :
|
AP_Mount::AP_Mount(const struct Location *current_loc, GPS *&gps, AP_AHRS *ahrs, uint8_t id) :
|
||||||
_gps(gps)
|
_gps(gps)
|
||||||
{
|
{
|
||||||
|
AP_Param::setup_object_defaults(this, var_info);
|
||||||
_ahrs = ahrs;
|
_ahrs = ahrs;
|
||||||
_current_loc = current_loc;
|
_current_loc = current_loc;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user