Mount: updates for new AP_Param API

This commit is contained in:
Andrew Tridgell 2012-12-13 08:52:04 +11:00
parent f393389db2
commit 9d1f43928c
1 changed files with 1 additions and 0 deletions

View File

@ -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) :
_gps(gps)
{
AP_Param::setup_object_defaults(this, var_info);
_ahrs = ahrs;
_current_loc = current_loc;